DefaultModelMetadataProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider)
Creates a new DefaultModelMetadataProvider.
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)
Parameters
- detailsProvider
- ICompositeMetadataDetailsProvider
Applies to
DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider, IOptions<MvcOptions>)
Creates a new DefaultModelMetadataProvider.
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))
Parameters
- detailsProvider
- ICompositeMetadataDetailsProvider
- optionsAccessor
- IOptions<MvcOptions>
The accessor for MvcOptions.