C# 클래스 Glass.Mapper.Sc.DataMappers.SitecoreIdMapper

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

공개 메소드들

메소드 설명
CanHandle ( Mapper configuration, Context context ) : bool

Indicates that the data mapper will mapper to and from the property

MapToCms ( AbstractDataMappingContext mappingContext ) : void

Maps data from the .Net property value to the CMS value

MapToProperty ( AbstractDataMappingContext mappingContext ) : object

Maps data from the CMS value to the .Net property value

Setup ( Glass.Mapper.Pipelines.DataMapperResolver.DataMapperResolverArgs args ) : void
SitecoreIdMapper ( ) : System

Initializes a new instance of the SitecoreIdMapper class.

메소드 상세

CanHandle() 공개 메소드

Indicates that the data mapper will mapper to and from the property
public CanHandle ( Mapper configuration, Context context ) : bool
configuration Mapper The configuration.
context Context The context.
리턴 bool

MapToCms() 공개 메소드

Maps data from the .Net property value to the CMS value
public MapToCms ( AbstractDataMappingContext mappingContext ) : void
mappingContext AbstractDataMappingContext The mapping context.
리턴 void

MapToProperty() 공개 메소드

Maps data from the CMS value to the .Net property value
The type {0} on {0}.{1} is not supported by SitecoreIdMapper.Formatted /// (scConfig.PropertyInfo.ReflectedType.FullName, /// scConfig.PropertyInfo.Name)
public MapToProperty ( AbstractDataMappingContext mappingContext ) : object
mappingContext AbstractDataMappingContext The mapping context.
리턴 object

Setup() 공개 메소드

public Setup ( Glass.Mapper.Pipelines.DataMapperResolver.DataMapperResolverArgs args ) : void
args Glass.Mapper.Pipelines.DataMapperResolver.DataMapperResolverArgs
리턴 void

SitecoreIdMapper() 공개 메소드

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