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

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

Méthodes publiques

Méthode Description
GetFieldValue ( string fieldValue, Configuration config, SitecoreDataMappingContext context ) : object

Gets the field value.

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

Sets the field value.

SitecoreFieldDateTimeMapper ( ) : System

Initializes a new instance of the SitecoreFieldDateTimeMapper class.

Method Details

GetFieldValue() public méthode

Gets the field value.
public GetFieldValue ( string fieldValue, Configuration config, SitecoreDataMappingContext context ) : object
fieldValue string The field value.
config Configuration The config.
context SitecoreDataMappingContext The context.
Résultat object

SetFieldValue() public méthode

Sets the field value.
The value is not of type System.DateTime
public SetFieldValue ( object value, Configuration config, SitecoreDataMappingContext context ) : string
value object The value.
config Configuration The config.
context SitecoreDataMappingContext The context.
Résultat string

SitecoreFieldDateTimeMapper() public méthode

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