InternalServerError.IEndpointMetadataProvider.PopulateMetadata 方法

定义

填充相关 EndpointMethodInfo的元数据。

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

参数

method
MethodInfo

要创建的终结点的路由处理程序委托或 MVC 操作的 MethodInfo

builder
EndpointBuilder

用于构造给定 method终结点的 EndpointBuilder

实现

适用于