Results<TResult1,TResult2>.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

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

builder
EndpointBuilder

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

实现

适用于