Метод | Описание | |
---|---|---|
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 ( |
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.
|
protected abstract CreateModelType ( string typeName, IModelTypeProvider provider = null ) : ModelType | ||
typeName | string | |
provider | IModelTypeProvider | |
Результат | ModelType |
protected abstract GetModelTypeName ( object instance ) : string | ||
instance | object | The actual model object instance |
Результат | string |