DefaultApiDescriptionProvider Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider) |
Przestarzałe.
Tworzy nowe wystąpienie klasy DefaultApiDescriptionProvider. |
DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper) |
Przestarzałe.
Tworzy nowe wystąpienie klasy DefaultApiDescriptionProvider. |
DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper, IOptions<RouteOptions>) |
Tworzy nowe wystąpienie klasy DefaultApiDescriptionProvider. |
DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider)
Przestroga
This constructor is obsolete and will be removed in a future release.
Tworzy nowe wystąpienie klasy DefaultApiDescriptionProvider.
public:
DefaultApiDescriptionProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ constraintResolver, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider);
public DefaultApiDescriptionProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> optionsAccessor, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
[System.Obsolete("This constructor is obsolete and will be removed in a future release.")]
public DefaultApiDescriptionProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> optionsAccessor, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
new Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.AspNetCore.Routing.IInlineConstraintResolver * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider
[<System.Obsolete("This constructor is obsolete and will be removed in a future release.")>]
new Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.AspNetCore.Routing.IInlineConstraintResolver * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider
Public Sub New (optionsAccessor As IOptions(Of MvcOptions), constraintResolver As IInlineConstraintResolver, modelMetadataProvider As IModelMetadataProvider)
Parametry
- optionsAccessor
- IOptions<MvcOptions>
Akcesorium dla metody MvcOptions.
- constraintResolver
- IInlineConstraintResolver
Element używany do rozwiązywania IInlineConstraintResolver ograniczeń wbudowanych.
- modelMetadataProvider
- IModelMetadataProvider
Element IModelMetadataProvider.
- Atrybuty
Dotyczy
DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper)
Przestroga
This constructor is obsolete and will be removed in a future release.
Tworzy nowe wystąpienie klasy DefaultApiDescriptionProvider.
public:
DefaultApiDescriptionProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ constraintResolver, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultTypeMapper ^ mapper);
public DefaultApiDescriptionProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> optionsAccessor, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper);
[System.Obsolete("This constructor is obsolete and will be removed in a future release.")]
public DefaultApiDescriptionProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> optionsAccessor, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper);
new Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.AspNetCore.Routing.IInlineConstraintResolver * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper -> Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider
[<System.Obsolete("This constructor is obsolete and will be removed in a future release.")>]
new Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.AspNetCore.Routing.IInlineConstraintResolver * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper -> Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider
Public Sub New (optionsAccessor As IOptions(Of MvcOptions), constraintResolver As IInlineConstraintResolver, modelMetadataProvider As IModelMetadataProvider, mapper As IActionResultTypeMapper)
Parametry
- optionsAccessor
- IOptions<MvcOptions>
Akcesorium dla metody MvcOptions.
- constraintResolver
- IInlineConstraintResolver
Element używany do rozwiązywania IInlineConstraintResolver ograniczeń wbudowanych.
- modelMetadataProvider
- IModelMetadataProvider
Element IModelMetadataProvider.
- mapper
- IActionResultTypeMapper
Element IActionResultTypeMapper.
- Atrybuty
Dotyczy
DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper, IOptions<RouteOptions>)
Tworzy nowe wystąpienie klasy DefaultApiDescriptionProvider.
public:
DefaultApiDescriptionProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ constraintResolver, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultTypeMapper ^ mapper, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Routing::RouteOptions ^> ^ routeOptions);
public DefaultApiDescriptionProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> optionsAccessor, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Routing.RouteOptions> routeOptions);
new Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.AspNetCore.Routing.IInlineConstraintResolver * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Routing.RouteOptions> -> Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider
Public Sub New (optionsAccessor As IOptions(Of MvcOptions), constraintResolver As IInlineConstraintResolver, modelMetadataProvider As IModelMetadataProvider, mapper As IActionResultTypeMapper, routeOptions As IOptions(Of RouteOptions))
Parametry
- optionsAccessor
- IOptions<MvcOptions>
Akcesorium dla metody MvcOptions.
- constraintResolver
- IInlineConstraintResolver
Element używany do rozwiązywania IInlineConstraintResolver ograniczeń wbudowanych.
- modelMetadataProvider
- IModelMetadataProvider
Element IModelMetadataProvider.
- mapper
- IActionResultTypeMapper
Element IActionResultTypeMapper.
- routeOptions
- IOptions<RouteOptions>
Akcesorium dla metody RouteOptions.
Uwagi
Parametr mapper
jest obecnie ignorowany.