C# 클래스 ExoModel.DynamicModelTypeProvider

Base class for type providers that expose properties dynamically but leverage base type providers for core functionality.
상속: IModelTypeProvider
파일 보기 프로젝트 열기: vc3/ExoModel

보호된 메소드들

메소드 설명
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