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

Class SitecoreFieldDoubleMapper
Inheritance: AbstractSitecoreFieldMapper
Afficher le fichier Open project: mikeedwards83/Glass.Mapper Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat object

SetFieldValue() public méthode

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.
Résultat string

SitecoreFieldDoubleMapper() public méthode

Initializes a new instance of the SitecoreFieldDoubleMapper class.
public SitecoreFieldDoubleMapper ( ) : System
Résultat System