Ok.IEndpointMetadataProvider.PopulateMetadata Method

Definition

Populates metadata for the related Endpoint and MethodInfo.

C#
static void IEndpointMetadataProvider.PopulateMetadata (System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder);

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

Product Versions
ASP.NET Core 7.0, 8.0, 9.0