RequestDelegateFactory.InferMetadata 메서드

정의

에서 만든 Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult)에 대해 자동으로 유추된 메타데이터를 RequestDelegate 반환합니다. 여기에는 매개 변수로 유추되고 IEndpointMetadataProvider 매개 변수에 IEndpointParameterMetadataProvider 의해 구현되고 형식을 에 반환하는 메타데이터가 methodInfo포함됩니다.

public static Microsoft.AspNetCore.Http.RequestDelegateMetadataResult InferMetadata (System.Reflection.MethodInfo methodInfo, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions? options = default);
static member InferMetadata : System.Reflection.MethodInfo * Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions -> Microsoft.AspNetCore.Http.RequestDelegateMetadataResult
Public Shared Function InferMetadata (methodInfo As MethodInfo, Optional options As RequestDelegateFactoryOptions = Nothing) As RequestDelegateMetadataResult

매개 변수

반환

RequestDelegateMetadataResult 에 전달할 입니다Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult).

적용 대상