Ok<TValue>.IEndpointMetadataProvider.PopulateMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.