Share via


RequestDelegateFactory Classe

Definizione

Crea RequestDelegate implementazioni da Delegate gestori di richieste.

public static class RequestDelegateFactory
type RequestDelegateFactory = class
Public Class RequestDelegateFactory
Ereditarietà
RequestDelegateFactory

Metodi

Create(Delegate, RequestDelegateFactoryOptions)

Crea un'implementazione RequestDelegate per handler.

Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult)

Crea un'implementazione RequestDelegate per handler.

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

Crea un'implementazione RequestDelegate per methodInfo.

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

Crea un'implementazione RequestDelegate per methodInfo.

InferMetadata(MethodInfo, RequestDelegateFactoryOptions)

Restituisce i metadati dedotti automaticamente per l'oggetto RequestDelegate creato da Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult). Sono inclusi i metadati dedotti e implementati dai IEndpointMetadataProvider parametri e i tipi restituiti all'oggetto methodInfo.IEndpointParameterMetadataProvider

Si applica a