C# Class PageTypeBuilder.Synchronization.PageDefinitionSynchronization.PageDefinitionTypeMapper

ファイルを表示 Open project: joelabrahamsson/Page-Type-Builder Class Usage Examples

Public Methods

Method Description
GetDefaultPropertyType ( Type propertyType ) : Type
GetPageDefinitionType ( PageTypePropertyDefinition definition ) : PageDefinitionType
GetPageDefinitionType ( string pageTypeName, string propertyName, Type propertyType, PageTypePropertyAttribute pageTypePropertyAttribute ) : PageDefinitionType
PageDefinitionTypeMapper ( IPageDefinitionTypeRepository pageDefinitionTypeRepository, INativePageDefinitionsMap nativePageDefinitionsMap ) : System

Protected Methods

Method Description
GetPropertyType ( Type propertyType, PageTypePropertyAttribute pageTypePropertyAttribute ) : Type
ThrowUnmappablePropertyTypeException ( string propertyName, string pageTypeName ) : void

Private Methods

Method Description
GetNativePageDefinitionType ( Type pagePropertyType ) : PageDefinitionType
GetNonNativePageDefinitionType ( Type pagePropertyType ) : PageDefinitionType
GetPageDefinitionTypeImpl ( Type pagePropertyType ) : PageDefinitionType

Method Details

GetDefaultPropertyType() public method

public GetDefaultPropertyType ( Type propertyType ) : Type
propertyType System.Type
return System.Type

GetPageDefinitionType() public method

public GetPageDefinitionType ( PageTypePropertyDefinition definition ) : PageDefinitionType
definition PageTypeBuilder.Discovery.PageTypePropertyDefinition
return PageDefinitionType

GetPageDefinitionType() public method

public GetPageDefinitionType ( string pageTypeName, string propertyName, Type propertyType, PageTypePropertyAttribute pageTypePropertyAttribute ) : PageDefinitionType
pageTypeName string
propertyName string
propertyType System.Type
pageTypePropertyAttribute PageTypePropertyAttribute
return PageDefinitionType

GetPropertyType() protected method

protected GetPropertyType ( Type propertyType, PageTypePropertyAttribute pageTypePropertyAttribute ) : Type
propertyType System.Type
pageTypePropertyAttribute PageTypePropertyAttribute
return System.Type

PageDefinitionTypeMapper() public method

public PageDefinitionTypeMapper ( IPageDefinitionTypeRepository pageDefinitionTypeRepository, INativePageDefinitionsMap nativePageDefinitionsMap ) : System
pageDefinitionTypeRepository IPageDefinitionTypeRepository
nativePageDefinitionsMap INativePageDefinitionsMap
return System

ThrowUnmappablePropertyTypeException() protected method

protected ThrowUnmappablePropertyTypeException ( string propertyName, string pageTypeName ) : void
propertyName string
pageTypeName string
return void