Freigeben über


DefaultApiDescriptionProvider Konstruktoren

Definition

Überlädt

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider)
Veraltet.

Erstellt eine neue Instanz von DefaultApiDescriptionProvider.

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper)
Veraltet.

Erstellt eine neue Instanz von DefaultApiDescriptionProvider.

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper, IOptions<RouteOptions>)

Erstellt eine neue Instanz von DefaultApiDescriptionProvider.

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider)

Quelle:
DefaultApiDescriptionProvider.cs
Quelle:
DefaultApiDescriptionProvider.cs

Achtung

This constructor is obsolete and will be removed in a future release.

Erstellt eine neue Instanz von 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)

Parameter

optionsAccessor
IOptions<MvcOptions>

Der Accessor für MvcOptions.

constraintResolver
IInlineConstraintResolver

Die , die IInlineConstraintResolver zum Auflösen von Inlineeinschränkungen verwendet wird.

modelMetadataProvider
IModelMetadataProvider

Die IModelMetadataProvider.

Attribute

Gilt für:

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper)

Quelle:
DefaultApiDescriptionProvider.cs
Quelle:
DefaultApiDescriptionProvider.cs

Achtung

This constructor is obsolete and will be removed in a future release.

Erstellt eine neue Instanz von 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)

Parameter

optionsAccessor
IOptions<MvcOptions>

Der Accessor für MvcOptions.

constraintResolver
IInlineConstraintResolver

Die , die IInlineConstraintResolver zum Auflösen von Inlineeinschränkungen verwendet wird.

modelMetadataProvider
IModelMetadataProvider

Die IModelMetadataProvider.

Attribute

Gilt für:

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper, IOptions<RouteOptions>)

Quelle:
DefaultApiDescriptionProvider.cs
Quelle:
DefaultApiDescriptionProvider.cs

Erstellt eine neue Instanz von 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))

Parameter

optionsAccessor
IOptions<MvcOptions>

Der Accessor für MvcOptions.

constraintResolver
IInlineConstraintResolver

Die , die IInlineConstraintResolver zum Auflösen von Inlineeinschränkungen verwendet wird.

modelMetadataProvider
IModelMetadataProvider

Die IModelMetadataProvider.

routeOptions
IOptions<RouteOptions>

Der Accessor für RouteOptions.

Hinweise

Der mapper Parameter wird derzeit ignoriert.

Gilt für: