RequestDelegateFactory Klasa

Definicja

Tworzy RequestDelegate implementacje na podstawie Delegate procedur obsługi żądań.

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

Metody

Create(Delegate, RequestDelegateFactoryOptions)

Tworzy implementację RequestDelegate dla programu handler.

Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult)

Tworzy implementację RequestDelegate dla programu handler.

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

Tworzy implementację RequestDelegate dla programu methodInfo.

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

Tworzy implementację RequestDelegate dla programu methodInfo.

InferMetadata(MethodInfo, RequestDelegateFactoryOptions)

Zwraca metadane wnioskowane automatycznie dla elementu utworzonego RequestDelegate przez Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult). Obejmuje to metadane wnioskowane przez IEndpointMetadataProvider parametr i IEndpointParameterMetadataProvider implementowane przez parametr i zwracane typy do klasy methodInfo.

Dotyczy