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

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

공개 메소드들

메소드 설명
AbstractSitecoreFieldMapper ( ) : System

Initializes a new instance of the AbstractSitecoreFieldMapper class.

CanHandle ( Mapper configuration, Context context ) : bool

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

GetField ( Field field, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : object

Gets the field.

GetFieldValue ( string fieldValue, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : object

Gets the field value.

MapCmsToProperty ( AbstractDataMappingContext mappingContext ) : void
MapPropertyToCms ( AbstractDataMappingContext mappingContext ) : void
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

SetField ( Field field, object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : void

Sets the field.

SetFieldValue ( object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : string

Sets the field value.

Setup ( Mapper args ) : void

메소드 상세

AbstractSitecoreFieldMapper() 공개 메소드

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

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

GetField() 공개 메소드

Gets the field.
public GetField ( Field field, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : object
field Field The field.
config Glass.Mapper.Sc.Configuration.SitecoreFieldConfiguration The config.
context SitecoreDataMappingContext The context.
리턴 object

GetFieldValue() 공개 추상적인 메소드

Gets the field value.
public abstract GetFieldValue ( string fieldValue, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : object
fieldValue string The field value.
config Glass.Mapper.Sc.Configuration.SitecoreFieldConfiguration The config.
context SitecoreDataMappingContext The context.
리턴 object

MapCmsToProperty() 공개 메소드

public MapCmsToProperty ( AbstractDataMappingContext mappingContext ) : void
mappingContext AbstractDataMappingContext
리턴 void

MapPropertyToCms() 공개 메소드

public MapPropertyToCms ( AbstractDataMappingContext mappingContext ) : void
mappingContext AbstractDataMappingContext
리턴 void

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
public MapToProperty ( AbstractDataMappingContext mappingContext ) : object
mappingContext AbstractDataMappingContext The mapping context.
리턴 object

SetField() 공개 메소드

Sets the field.
public SetField ( Field field, object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : void
field Field The field.
value object The value.
config Glass.Mapper.Sc.Configuration.SitecoreFieldConfiguration The config.
context SitecoreDataMappingContext The context.
리턴 void

SetFieldValue() 공개 추상적인 메소드

Sets the field value.
public abstract SetFieldValue ( object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : string
value object The value.
config Glass.Mapper.Sc.Configuration.SitecoreFieldConfiguration The config.
context SitecoreDataMappingContext The context.
리턴 string

Setup() 공개 메소드

public Setup ( Mapper args ) : void
args Mapper
리턴 void