EndpointMetadataApiExplorerServiceCollectionExtensions.AddEndpointsApiExplorer Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Настраивает ApiExplorer с помощью Metadata.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddEndpointsApiExplorer(this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddEndpointsApiExplorer : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddEndpointsApiExplorer (services As IServiceCollection) As IServiceCollection
Параметры
- services
- IServiceCollection