ModelExplorer Class

Definition

Associates a model object with it's corresponding ModelMetadata.

public ref class ModelExplorer
public class ModelExplorer
type ModelExplorer = class
Public Class ModelExplorer
Inheritance
ModelExplorer

Constructors

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

Creates a new ModelExplorer.

ModelExplorer(IModelMetadataProvider, ModelExplorer, ModelMetadata, Object)

Creates a new ModelExplorer.

ModelExplorer(IModelMetadataProvider, ModelMetadata, Object)

Creates a new ModelExplorer.

Properties

Container

Gets the container ModelExplorer.

Metadata

Gets the ModelMetadata.

Model

Gets the model object.

ModelType
Properties

Gets the properties.

Methods

GetExplorerForExpression(ModelMetadata, Func<Object,Object>)

Gets a ModelExplorer for the provided model value and model Type.

GetExplorerForExpression(ModelMetadata, Object)

Gets a ModelExplorer for the provided model value and model Type.

GetExplorerForExpression(Type, Func<Object,Object>)

Gets a ModelExplorer for the provided model value and model Type.

GetExplorerForExpression(Type, Object)

Gets a ModelExplorer for the provided model value and model Type.

GetExplorerForModel(Object)

Gets a ModelExplorer for the given model value.

GetExplorerForProperty(String, Func<Object,Object>)

Gets a ModelExplorer for the property with given name, or null if the property cannot be found.

GetExplorerForProperty(String, Object)

Gets a ModelExplorer for the property with given name, or null if the property cannot be found.

GetExplorerForProperty(String)

Gets a ModelExplorer for the property with given name, or null if the property cannot be found.

Extension Methods

GetSimpleDisplayText(ModelExplorer)

Gets a simple display string for the Model property of modelExplorer.

Applies to