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

Class SitecoreFieldDoubleMapper
Inheritance: AbstractSitecoreFieldMapper
Mostra file Open project: mikeedwards83/Glass.Mapper Class Usage Examples

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.

SitecoreFieldDoubleMapper ( ) : System

Initializes a new instance of the SitecoreFieldDoubleMapper class.

Method Details

GetFieldValue() public method

Gets the field value.
Could not convert value to double
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.Double
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

SitecoreFieldDoubleMapper() public method

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