Partager via


DefaultModelMetadataProvider Constructeurs

Définition

Surcharges

DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider)

Crée un DefaultModelMetadataProvider.

DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider, IOptions<MvcOptions>)

Crée un DefaultModelMetadataProvider.

DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider)

Source:
DefaultModelMetadataProvider.cs
Source:
DefaultModelMetadataProvider.cs
Source:
DefaultModelMetadataProvider.cs
public:
 DefaultModelMetadataProvider(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ICompositeMetadataDetailsProvider ^ detailsProvider);
public DefaultModelMetadataProvider (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider detailsProvider);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider
Public Sub New (detailsProvider As ICompositeMetadataDetailsProvider)

Paramètres

S’applique à

DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider, IOptions<MvcOptions>)

Source:
DefaultModelMetadataProvider.cs
Source:
DefaultModelMetadataProvider.cs
Source:
DefaultModelMetadataProvider.cs
public:
 DefaultModelMetadataProvider(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ICompositeMetadataDetailsProvider ^ detailsProvider, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ optionsAccessor);
public DefaultModelMetadataProvider (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider detailsProvider, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> optionsAccessor);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider
Public Sub New (detailsProvider As ICompositeMetadataDetailsProvider, optionsAccessor As IOptions(Of MvcOptions))

Paramètres

optionsAccessor
IOptions<MvcOptions>

Accesseur pour MvcOptions.

S’applique à