ModelExplorer 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
ModelExplorer(IModelMetadataProvider, ModelMetadata, Object)
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
Creates a new 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)
Parameters
- metadataProvider
- IModelMetadataProvider
- metadata
- ModelMetadata
The ModelMetadata.
- model
- Object
The model object. May be null
.
Applies to
ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Func<Object,Object>)
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
Creates a new 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))
Parameters
- metadataProvider
- IModelMetadataProvider
- container
- ModelExplorer
The container ModelExplorer.
- metadata
- ModelMetadata
The ModelMetadata.
Applies to
ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Object)
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
- Source:
- ModelExplorer.cs
Creates a new 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)
Parameters
- metadataProvider
- IModelMetadataProvider
- container
- ModelExplorer
The container ModelExplorer.
- metadata
- ModelMetadata
The ModelMetadata.
- model
- Object
The model object. May be null
.