C# Класс ExoModel.DynamicModelTypeProvider

Base class for type providers that expose properties dynamically but leverage base type providers for core functionality.
Наследование: IModelTypeProvider
Показать файл Открыть проект

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

CreateModelType() защищенный абстрактный Метод

Creates a ModelType that corresponds to the specified type name.
protected abstract CreateModelType ( string typeName, IModelTypeProvider provider = null ) : ModelType
typeName string
provider IModelTypeProvider
Результат ModelType

GetModelTypeName() защищенный абстрактный Метод

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
Результат string