RequestDelegateFactory 類別

定義

RequestDelegateDelegate 要求處理常式建立實作。

public static class RequestDelegateFactory
type RequestDelegateFactory = class
Public Class RequestDelegateFactory
繼承
RequestDelegateFactory

方法

Create(Delegate, RequestDelegateFactoryOptions)

RequestDelegate建立 的實作 handler

Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult)

RequestDelegate建立 的實作 handler

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

RequestDelegate建立 的實作 methodInfo

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

RequestDelegate建立 的實作 methodInfo

InferMetadata(MethodInfo, RequestDelegateFactoryOptions)

針對 所建立的 ,傳回自動 RequestDelegate 推斷的 Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult) 中繼資料。 這包括由 IEndpointMetadataProvider 參數推斷和 IEndpointParameterMetadataProvider 實作的中繼資料,並將型別傳回至 methodInfo

適用於