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

Class SitecoreFieldFloatMapper
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.

SitecoreFieldFloatMapper ( ) : System

Initializes a new instance of the SitecoreFieldFloatMapper 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.Float
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

SitecoreFieldFloatMapper() public méthode

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