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

Class SitecoreFieldGuidMapper
Inheritance: AbstractSitecoreFieldMapper
Mostrar archivo Open project: mikeedwards83/Glass.Mapper

Public Methods

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

Gets the field value.

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

Sets the field value.

SitecoreFieldIdMapper ( ) : System

Initializes a new instance of the SitecoreFieldGuidMapper class.

Method Details

GetFieldValue() public method

Gets the field value.
public 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.
return object

SetFieldValue() public method

Sets the field value.
The value is not of type System.Guid
public SetFieldValue ( object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : string
value object The value.
config Glass.Mapper.Sc.Configuration.SitecoreFieldConfiguration The config.
context SitecoreDataMappingContext The context.
return string

SitecoreFieldIdMapper() public method

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