ModelExplorer Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
ModelExplorer(IModelMetadataProvider, ModelMetadata, Object)
- Origem:
- ModelExplorer.cs
- Origem:
- ModelExplorer.cs
- Origem:
- ModelExplorer.cs
Cria um novo 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)
Parâmetros
- metadataProvider
- IModelMetadataProvider
- metadata
- ModelMetadata
- model
- Object
O objeto de modelo. Pode ser null
.
Aplica-se a
ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Func<Object,Object>)
- Origem:
- ModelExplorer.cs
- Origem:
- ModelExplorer.cs
- Origem:
- ModelExplorer.cs
Cria um novo 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))
Parâmetros
- metadataProvider
- IModelMetadataProvider
- container
- ModelExplorer
O contêiner ModelExplorer.
- metadata
- ModelMetadata
Aplica-se a
ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Object)
- Origem:
- ModelExplorer.cs
- Origem:
- ModelExplorer.cs
- Origem:
- ModelExplorer.cs
Cria um novo 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)
Parâmetros
- metadataProvider
- IModelMetadataProvider
- container
- ModelExplorer
O contêiner ModelExplorer.
- metadata
- ModelMetadata
- model
- Object
O objeto de modelo. Pode ser null
.