RouteHandlerServices Class

Definition

Provides methods used for invoking the route endpoint infrastructure with custom funcs for populating metadata and creating request delegates. Intended to be consumed from the RequestDeleatgeGenerator only.

public static class RouteHandlerServices
type RouteHandlerServices = class
Public Class RouteHandlerServices
Inheritance
RouteHandlerServices

Methods

Map(IEndpointRouteBuilder, String, Delegate, IEnumerable<String>, Func<MethodInfo,RequestDelegateFactoryOptions,RequestDelegateMetadataResult>, Func<Delegate,RequestDelegateFactoryOptions,RequestDelegateMetadataResult, RequestDelegateResult>, MethodInfo)

Registers an endpoint with custom functions for constructing a request delegate for its handler and populating metadata for the endpoint. Intended for consumption in the RequestDelegateGenerator.

Map(IEndpointRouteBuilder, String, Delegate, IEnumerable<String>, Func<MethodInfo,RequestDelegateFactoryOptions,RequestDelegateMetadataResult>, Func<Delegate,RequestDelegateFactoryOptions,RequestDelegateMetadataResult, RequestDelegateResult>)

Registers an endpoint with custom functions for constructing a request delegate for its handler and populating metadata for the endpoint. Intended for consumption in the RequestDelegateGenerator.

Applies to