Condividi tramite


AcceptedAtRoute.IEndpointMetadataProvider.PopulateMetadata Metodo

Definizione

Popola i metadati per i relativi Endpoint e MethodInfo.

static void IEndpointMetadataProvider.PopulateMetadata (System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder);
static void IEndpointMetadataProvider.PopulateMetadata (System.Reflection.MethodInfo? method, Microsoft.AspNetCore.Builder.EndpointBuilder? builder);
static member Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider.PopulateMetadata : System.Reflection.MethodInfo * Microsoft.AspNetCore.Builder.EndpointBuilder -> unit
 Shared Sub PopulateMetadata (method As MethodInfo, builder As EndpointBuilder) Implements IEndpointMetadataProvider.PopulateMetadata

Parametri

method
MethodInfo

Oggetto MethodInfo del delegato del gestore di route o dell'azione MVC dell'endpoint creato.

builder
EndpointBuilder

Oggetto EndpointBuilder utilizzato per costruire l'endpoint per l'oggetto specificato method.

Implementazioni

Si applica a