C# Class ExoModel.DynamicModelTypeProvider

Base class for type providers that expose properties dynamically but leverage base type providers for core functionality.
Inheritance: IModelTypeProvider
Afficher le fichier Open project: vc3/ExoModel

Méthodes protégées

Méthode Description
CreateModelType ( string typeName, IModelTypeProvider provider = null ) : ModelType

Creates a ModelType that corresponds to the specified type name.

GetModelTypeName ( object instance ) : string

Gets the unique name of the ModelType for the specified model object instance.

Private Methods

Méthode Description
DynamicModelTypeProvider ( string @namespace, string baseType, bool isCacheable ) : System

Creates a new DynamicModelTypeProvider based on the specified types.

IModelTypeProvider ( string typeName ) : ModelType

Creates a ModelType that corresponds to the specified type name.

IModelTypeProvider ( Type type ) : string

Gets the ModelType that corresponds to the specified Type.

IModelTypeProvider ( object instance ) : string

Gets the unique name of the ModelType for the specified model object instance.

Method Details

CreateModelType() protected abstract méthode

Creates a ModelType that corresponds to the specified type name.
protected abstract CreateModelType ( string typeName, IModelTypeProvider provider = null ) : ModelType
typeName string
provider IModelTypeProvider
Résultat ModelType

GetModelTypeName() protected abstract méthode

Gets the unique name of the ModelType for the specified model object instance.
protected abstract GetModelTypeName ( object instance ) : string
instance object The actual model object instance
Résultat string