C# Класс Glass.Mapper.Sc.DataMappers.SitecoreQueryMapper

Class SitecoreQueryMapper
Наследование: AbstractDataMapper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CanHandle ( AbstractPropertyConfiguration configuration, Context context ) : bool

Indicates that the data mapper will mapper to and from the property

MapToCms ( AbstractDataMappingContext mappingContext ) : void

Maps data from the .Net property value to the CMS value

MapToProperty ( AbstractDataMappingContext mappingContext ) : object

Maps data from the CMS value to the .Net property value

ParseQuery ( string query, System.Item item ) : string

Parses the query.

SitecoreQueryMapper ( IEnumerable parameters ) : System

Initializes a new instance of the SitecoreQueryMapper class.

Описание методов

CanHandle() публичный Метод

Indicates that the data mapper will mapper to and from the property
public CanHandle ( AbstractPropertyConfiguration configuration, Context context ) : bool
configuration Glass.Mapper.Configuration.AbstractPropertyConfiguration The configuration.
context Context The context.
Результат bool

MapToCms() публичный Метод

Maps data from the .Net property value to the CMS value
public MapToCms ( AbstractDataMappingContext mappingContext ) : void
mappingContext AbstractDataMappingContext The mapping context.
Результат void

MapToProperty() публичный Метод

Maps data from the CMS value to the .Net property value
public MapToProperty ( AbstractDataMappingContext mappingContext ) : object
mappingContext AbstractDataMappingContext The mapping context.
Результат object

ParseQuery() публичный Метод

Parses the query.
public ParseQuery ( string query, System.Item item ) : string
query string The query.
item System.Item The item.
Результат string

SitecoreQueryMapper() публичный Метод

Initializes a new instance of the SitecoreQueryMapper class.
public SitecoreQueryMapper ( IEnumerable parameters ) : System
parameters IEnumerable
Результат System