C# 클래스 Habanero.Smooth.PropMapperExtensions

Provides extension methods that allow a more fluent programming style
파일 보기 프로젝트 열기: Chillisoft/habanero.smooth

공개 메소드들

메소드 설명
CanMapToProp ( this type ) : bool

Using the heuristic that the property should be a mappable type or an Enum to be mapped as a property else it should be a Relationship or a component.

MapProperty ( this propInfo ) : IPropDef

Based on the information available for the PropertyInfo (Name, Attributes, DataTypes etc) And a set of Heuristics a Property Definition is created for this PropertyInfo

비공개 메소드들

메소드 설명
IsEnumType ( this type ) : bool

메소드 상세

CanMapToProp() 공개 정적인 메소드

Using the heuristic that the property should be a mappable type or an Enum to be mapped as a property else it should be a Relationship or a component.
public static CanMapToProp ( this type ) : bool
type this
리턴 bool

MapProperty() 공개 정적인 메소드

Based on the information available for the PropertyInfo (Name, Attributes, DataTypes etc) And a set of Heuristics a Property Definition is created for this PropertyInfo
public static MapProperty ( this propInfo ) : IPropDef
propInfo this
리턴 IPropDef