Aracılığıyla paylaş


RequestDelegateFactory Sınıf

Tanım

İstek işleyicilerinden Delegate uygulamalar oluştururRequestDelegate.

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

Yöntemler

Create(Delegate, RequestDelegateFactoryOptions)

için handlerbir RequestDelegate uygulama oluşturur.

Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult)

için handlerbir RequestDelegate uygulama oluşturur.

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

için methodInfobir RequestDelegate uygulama oluşturur.

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

için methodInfobir RequestDelegate uygulama oluşturur.

InferMetadata(MethodInfo, RequestDelegateFactoryOptions)

tarafından Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult)oluşturulan için RequestDelegate otomatik olarak çıkarılan meta verileri döndürür. Bu, tarafından çıkarsanan IEndpointMetadataProvider ve IEndpointParameterMetadataProvider parametresi tarafından uygulanan meta verileri ve dönüş türlerini methodInfoiçerir.

Şunlara uygulanır