Condividi tramite


RequestDelegateFactory.InferMetadata Metodo

Definizione

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

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

Parametri

Restituisce

Oggetto RequestDelegateMetadataResult da passare a Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult).

Si applica a