Udostępnij za pośrednictwem


CreatedAtRoute.IEndpointMetadataProvider.PopulateMetadata Metoda

Definicja

Wypełnia metadane powiązane Endpoint i 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

Parametry

method
MethodInfo

Delegat MethodInfo procedury obsługi tras lub akcja MVC tworzonego punktu końcowego.

builder
EndpointBuilder

Używany EndpointBuilder do konstruowania punktu końcowego dla danego methodpliku .

Implementuje

Dotyczy