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

This mapped does nothing, used to ignore a property
Inheritance: AbstractDataMapper
Mostrar archivo Open project: mikeedwards83/Glass.Mapper Class Usage Examples

Public Methods

Method Description
CanHandle ( AbstractPropertyConfiguration configuration, Context context ) : bool

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

MapCmsToProperty ( AbstractDataMappingContext mappingContext ) : void

Takes CMS data and writes it to the property

MapPropertyToCms ( AbstractDataMappingContext mappingContext ) : void

Takes a Property value and writes it to a CMS value

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

Method Details

CanHandle() public method

Indicates that the data mapper will mapper to and from the property
public CanHandle ( AbstractPropertyConfiguration configuration, Context context ) : bool
configuration Glass.Mapper.Configuration.AbstractPropertyConfiguration The configuration.
context Context The context.
return bool

MapCmsToProperty() public method

Takes CMS data and writes it to the property
public MapCmsToProperty ( AbstractDataMappingContext mappingContext ) : void
mappingContext AbstractDataMappingContext The mapping context.
return void

MapPropertyToCms() public method

Takes a Property value and writes it to a CMS value
public MapPropertyToCms ( AbstractDataMappingContext mappingContext ) : void
mappingContext AbstractDataMappingContext The mapping context.
return void

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