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

适用于