C# 클래스 Habanero.Smooth.PropertyAutoMapper

This is a class that will automap all properties in the BusinessObject.
파일 보기 프로젝트 열기: Chillisoft/habanero.smooth 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateDateTimePropRule PropRuleDate
CreateDateTimeStringPropRule PropRuleDate
CreateIntPropRule IPropRule
CreatePatternMatchPropRule Habanero.BO.PropRuleString
CreateShortPropRule IPropRule
CreateStringLengthPropRule Habanero.BO.PropRuleString
GetDate System.DateTime

공개 메소드들

메소드 설명
MapProperty ( ) : IPropDef

Will attempt to map a PropertyInfo to an IPropDef. If it cannot be mapped then will return null.

PropertyAutoMapper ( PropertyInfo propInfo ) : System

Constructs the Property Automapper for a particular PropertyInfo.

PropertyAutoMapper ( PropertyWrapper propertyWrapper ) : System

Constructs the Property Automapper for a particular ReflectionWrappers.PropertyWrapper where a PropertyWrapper typically wraps a PropertyInfo and provides additional methods.

비공개 메소드들

메소드 설명
CreateDateTimePropRule ( ) : PropRuleDate
CreateDateTimeStringPropRule ( ) : PropRuleDate
CreateIntPropRule ( ) : IPropRule
CreatePatternMatchPropRule ( ) : Habanero.BO.PropRuleString
CreateShortPropRule ( ) : IPropRule
CreateStringLengthPropRule ( ) : Habanero.BO.PropRuleString
GetDate ( string dateString, System.DateTime initialDate ) : System.DateTime

메소드 상세

MapProperty() 공개 메소드

Will attempt to map a PropertyInfo to an IPropDef. If it cannot be mapped then will return null.
public MapProperty ( ) : IPropDef
리턴 IPropDef

PropertyAutoMapper() 공개 메소드

Constructs the Property Automapper for a particular PropertyInfo.
public PropertyAutoMapper ( PropertyInfo propInfo ) : System
propInfo System.Reflection.PropertyInfo
리턴 System

PropertyAutoMapper() 공개 메소드

Constructs the Property Automapper for a particular ReflectionWrappers.PropertyWrapper where a PropertyWrapper typically wraps a PropertyInfo and provides additional methods.
public PropertyAutoMapper ( PropertyWrapper propertyWrapper ) : System
propertyWrapper PropertyWrapper
리턴 System