DefaultModelMetadataProvider Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider)
- Origine:
- DefaultModelMetadataProvider.cs
- Origine:
- DefaultModelMetadataProvider.cs
- Origine:
- DefaultModelMetadataProvider.cs
Crea un nuovo oggetto 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)
Parametri
- detailsProvider
- ICompositeMetadataDetailsProvider
Oggetto ICompositeMetadataDetailsProvider.
Si applica a
DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider, IOptions<MvcOptions>)
- Origine:
- DefaultModelMetadataProvider.cs
- Origine:
- DefaultModelMetadataProvider.cs
- Origine:
- DefaultModelMetadataProvider.cs
Crea un nuovo oggetto 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))
Parametri
- detailsProvider
- ICompositeMetadataDetailsProvider
Oggetto ICompositeMetadataDetailsProvider.
- optionsAccessor
- IOptions<MvcOptions>
Funzione di accesso per MvcOptions.