共用方式為


MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder) 方法

定義

設定 IMvcCoreBuilder 為使用 ApiExplorer。

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddApiExplorer (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddApiExplorer : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddApiExplorer (builder As IMvcCoreBuilder) As IMvcCoreBuilder

參數

傳回

IMvcCoreBuilder

適用於