Udostępnij za pośrednictwem


Conflict.IEndpointMetadataProvider.PopulateMetadata Metoda

Definicja

Wypełnia metadane powiązanych Endpoint elementów i MethodInfo.

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

Element MethodInfo delegata procedury obsługi tras lub akcji MVC tworzonego punktu końcowego.

builder
EndpointBuilder

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

Implementuje

Dotyczy