ApiConventionResult(IReadOnlyList<IApiResponseMetadataProvider>) 建構函式

定義

初始化 ApiConventionResult 的新執行個體。

public:
 ApiConventionResult(System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::ApiExplorer::IApiResponseMetadataProvider ^> ^ responseMetadataProviders);
public ApiConventionResult (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider> responseMetadataProviders);
new Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionResult : System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider> -> Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionResult
Public Sub New (responseMetadataProviders As IReadOnlyList(Of IApiResponseMetadataProvider))

參數

responseMetadataProviders
IReadOnlyList<IApiResponseMetadataProvider>

與動作相關聯的 序列 IApiResponseMetadataProvider

適用於