C# Class Glass.Mapper.Sc.DataMappers.SitecoreChildrenMapper

Class SitecoreChildrenMapper
Inheritance: AbstractDataMapper
Mostra file Open project: mikeedwards83/Glass.Mapper Class Usage Examples

Public Methods

Method Description
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
SitecoreChildrenMapper ( ) : System

Initializes a new instance of the SitecoreChildrenMapper class.

Method Details

CanHandle() public method

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.
return bool

MapToCms() public method

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

MapToProperty() public method

Maps data from the CMS value to the .Net property value
public MapToProperty ( AbstractDataMappingContext mappingContext ) : object
mappingContext AbstractDataMappingContext The mapping context.
return object

Setup() public method

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

SitecoreChildrenMapper() public method

Initializes a new instance of the SitecoreChildrenMapper class.
public SitecoreChildrenMapper ( ) : System
return System