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

适用于