ModelExplorer Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ModelExplorer(IModelMetadataProvider, ModelMetadata, Object)
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
Crée un ModelExplorer.
public:
ModelExplorer(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::Object ^ model);
public ModelExplorer (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object model);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * obj -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer
Public Sub New (metadataProvider As IModelMetadataProvider, metadata As ModelMetadata, model As Object)
Paramètres
- metadataProvider
- IModelMetadataProvider
L’IModelMetadataProvideropérateur
- metadata
- ModelMetadata
L’ModelMetadataopérateur
- model
- Object
Objet du modèle. Peut avoir la valeur null
.
S’applique à
ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Func<Object,Object>)
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
Crée un ModelExplorer.
public:
ModelExplorer(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ container, Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, Func<System::Object ^, System::Object ^> ^ modelAccessor);
public ModelExplorer (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer container, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, Func<object,object> modelAccessor);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * Func<obj, obj> -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer
Public Sub New (metadataProvider As IModelMetadataProvider, container As ModelExplorer, metadata As ModelMetadata, modelAccessor As Func(Of Object, Object))
Paramètres
- metadataProvider
- IModelMetadataProvider
L’IModelMetadataProvideropérateur
- container
- ModelExplorer
ModelExplorerConteneur .
- metadata
- ModelMetadata
L’ModelMetadataopérateur
S’applique à
ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Object)
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
Crée un ModelExplorer.
public:
ModelExplorer(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ container, Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::Object ^ model);
public ModelExplorer (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer container, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object model);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * obj -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer
Public Sub New (metadataProvider As IModelMetadataProvider, container As ModelExplorer, metadata As ModelMetadata, model As Object)
Paramètres
- metadataProvider
- IModelMetadataProvider
L’IModelMetadataProvideropérateur
- container
- ModelExplorer
ModelExplorerConteneur .
- metadata
- ModelMetadata
L’ModelMetadataopérateur
- model
- Object
Objet du modèle. Peut avoir la valeur null
.