共用方式為


InternalServerError<TValue>.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

實作

適用於