C# 클래스 Habanero.Base.DataMappers.DataMapperFactory

Factory for returning the appropriate Datamapper depending on the target type (typically a IBOProp type.)
상속: IDataMapperFactory
파일 보기 프로젝트 열기: Chillisoft/habanero 1 사용 예제들

공개 메소드들

메소드 설명
DataMapperFactory ( ) : System

Constructs the Factory and sets up the default datamappers for each type

GetDataMapper ( Type targetType ) : IDataMapper

Returns the DataMapper for the targetType.

SetDataMapper ( Type targetType, IDataMapper dataMapper ) : void

sets the dataMapper for the targetType

비공개 메소드들

메소드 설명
InitialiseDataMappers ( ) : void

메소드 상세

DataMapperFactory() 공개 메소드

Constructs the Factory and sets up the default datamappers for each type
public DataMapperFactory ( ) : System
리턴 System

GetDataMapper() 공개 메소드

Returns the DataMapper for the targetType.
public GetDataMapper ( Type targetType ) : IDataMapper
targetType System.Type
리턴 IDataMapper

SetDataMapper() 공개 메소드

sets the dataMapper for the targetType
public SetDataMapper ( Type targetType, IDataMapper dataMapper ) : void
targetType System.Type
dataMapper IDataMapper
리턴 void