C# 클래스 Glass.Mapper.Configuration.AbstractTypeConfiguration

파일 보기 프로젝트 열기: mikeedwards83/Glass.Mapper 1 사용 예제들

공개 메소드들

메소드 설명
AbstractTypeConfiguration ( ) : System

Initializes a new instance of the AbstractTypeConfiguration class.

AddProperty ( AbstractPropertyConfiguration property ) : void

Adds the property.

AutoMapProperties ( Type type ) : IEnumerable

Autoes the map properties.

MapPropertiesToObject ( object obj, IAbstractService service, AbstractTypeCreationContext context ) : void

Maps the properties to object.

PerformAutoMap ( ) : void

Called when the AutoMap property is true. Automatically maps un-specified properties.

보호된 메소드들

메소드 설명
AutoMapProperty ( PropertyInfo property ) : AbstractPropertyConfiguration

Called to map each property automatically

메소드 상세

AbstractTypeConfiguration() 공개 메소드

Initializes a new instance of the AbstractTypeConfiguration class.
public AbstractTypeConfiguration ( ) : System
리턴 System

AddProperty() 공개 메소드

Adds the property.
public AddProperty ( AbstractPropertyConfiguration property ) : void
property AbstractPropertyConfiguration The property.
리턴 void

AutoMapProperties() 공개 메소드

Autoes the map properties.
public AutoMapProperties ( Type type ) : IEnumerable
type System.Type The type.
리턴 IEnumerable

AutoMapProperty() 보호된 메소드

Called to map each property automatically
protected AutoMapProperty ( PropertyInfo property ) : AbstractPropertyConfiguration
property System.Reflection.PropertyInfo
리턴 AbstractPropertyConfiguration

MapPropertiesToObject() 공개 메소드

Maps the properties to object.
public MapPropertiesToObject ( object obj, IAbstractService service, AbstractTypeCreationContext context ) : void
obj object The obj.
service IAbstractService The service.
context AbstractTypeCreationContext The context.
리턴 void

PerformAutoMap() 공개 메소드

Called when the AutoMap property is true. Automatically maps un-specified properties.
public PerformAutoMap ( ) : void
리턴 void