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

Class SitecoreFieldDateTimeMapper
Inheritance: AbstractSitecoreFieldMapper
Exibir arquivo Open project: mikeedwards83/Glass.Mapper Class Usage Examples

Public Methods

Method 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 method

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.
return object

SetFieldValue() public method

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.
return string

SitecoreFieldDateTimeMapper() public method

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