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

Class SitecoreFieldGuidMapper
Inheritance: AbstractSitecoreFieldMapper
Afficher le fichier Open project: mikeedwards83/Glass.Mapper

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.

SitecoreFieldIdMapper ( ) : System

Initializes a new instance of the SitecoreFieldGuidMapper class.

Method Details

GetFieldValue() public méthode

Gets the field value.
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.Guid
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

SitecoreFieldIdMapper() public méthode

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