Sdílet prostřednictvím


ModelExplorer Konstruktory

Definice

Přetížení

ModelExplorer(IModelMetadataProvider, ModelMetadata, Object)

Vytvoří nový objekt ModelExplorer.

ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Func<Object,Object>)

Vytvoří nový objekt ModelExplorer.

ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Object)

Vytvoří nový objekt ModelExplorer.

ModelExplorer(IModelMetadataProvider, ModelMetadata, Object)

Zdroj:
ModelExplorer.cs
Zdroj:
ModelExplorer.cs
Zdroj:
ModelExplorer.cs

Vytvoří nový objekt 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)

Parametry

metadata
ModelMetadata

Hodnota ModelMetadata

model
Object

Objekt modelu. Může být null.

Platí pro

ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Func<Object,Object>)

Zdroj:
ModelExplorer.cs
Zdroj:
ModelExplorer.cs
Zdroj:
ModelExplorer.cs

Vytvoří nový objekt 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))

Parametry

container
ModelExplorer

Kontejner ModelExplorer.

metadata
ModelMetadata

Hodnota ModelMetadata

modelAccessor
Func<Object,Object>

Funkce příslušenství modelu.

Platí pro

ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Object)

Zdroj:
ModelExplorer.cs
Zdroj:
ModelExplorer.cs
Zdroj:
ModelExplorer.cs

Vytvoří nový objekt 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)

Parametry

container
ModelExplorer

Kontejner ModelExplorer.

metadata
ModelMetadata

Hodnota ModelMetadata

model
Object

Objekt modelu. Může být null.

Platí pro