Delen via


RequestDelegateFactory Class

Definition

Creates RequestDelegate implementations from Delegate request handlers.

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

Methods

Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult)

Creates a RequestDelegate implementation for handler.

Create(Delegate, RequestDelegateFactoryOptions)

Creates a RequestDelegate implementation for handler.

Create(MethodInfo, Func<HttpContext,Object>, RequestDelegateFactoryOptions, RequestDelegateMetadataResult)

Creates a RequestDelegate implementation for methodInfo.

Create(MethodInfo, Func<HttpContext,Object>, RequestDelegateFactoryOptions)

Creates a RequestDelegate implementation for methodInfo.

InferMetadata(MethodInfo, RequestDelegateFactoryOptions)

Returns metadata inferred automatically for the RequestDelegate created by Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult). This includes metadata inferred by IEndpointMetadataProvider and IEndpointParameterMetadataProvider implemented by parameter and return types to the methodInfo.

Applies to