Dela via


BadRequest.IEndpointMetadataProvider.PopulateMetadata Method

Definition

Populates metadata for the related Endpoint and 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

Parameters

method
MethodInfo

The MethodInfo of the route handler delegate or MVC Action of the endpoint being created.

builder
EndpointBuilder

The EndpointBuilder used to construct the endpoint for the given method.

Implements

Applies to