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

Class SitecoreFieldStreamMapper
Inheritance: AbstractSitecoreFieldMapper
Mostrar archivo Open project: mikeedwards83/Glass.Mapper Class Usage Examples

Public Methods

Method Description
GetField ( Sitecore field, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : object

Gets the field.

GetFieldValue ( string fieldValue, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : object

Gets the field value.

SetField ( Sitecore field, object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : void

Sets the field.

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

Sets the field value.

SitecoreFieldStreamMapper ( ) : System

Initializes a new instance of the SitecoreFieldStreamMapper class.

Method Details

GetField() public method

Gets the field.
public GetField ( Sitecore field, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : object
field Sitecore The field.
config Glass.Mapper.Sc.Configuration.SitecoreFieldConfiguration The config.
context SitecoreDataMappingContext The context.
return object

GetFieldValue() public method

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

SetField() public method

Sets the field.
public SetField ( Sitecore field, object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : void
field Sitecore The field.
value object The value.
config Glass.Mapper.Sc.Configuration.SitecoreFieldConfiguration The config.
context SitecoreDataMappingContext The context.
return void

SetFieldValue() public method

Sets the field value.
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.
return string

SitecoreFieldStreamMapper() public method

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