C# Class Sitecore.SharedSource.Analytics.Mappings.MultiVariantProcessor

Afficher le fichier Open project: Velir/Sitecore-Analytics Class Usage Examples

Private Properties

Свойство Type Description
GetAssembly System.Reflection.Assembly
GetItem_FromXmlNode IMultiVariantMapping

Méthodes publiques

Méthode Description
GetMapping ( string templateId, Database database ) : IMultiVariantMapping

Returns a mapping object

GetTemplate ( string templateId, Database database ) : TemplateItem

Returns a template item from one of the mappings

IsVariantTemplate ( string templateId ) : bool

Verified that the passed template is a variant template within the mappings

Méthodes protégées

Méthode Description
GetItem_FromReflection ( string nameSpace, string assemblyName, XmlNode validationNode ) : IMultiVariantMapping

Uses reflection to instantiate the IFieldGutter class

Private Methods

Méthode Description
GetAssembly ( string assemblyName ) : Assembly
GetItem_FromXmlNode ( XmlNode validationNode ) : IMultiVariantMapping

Method Details

GetItem_FromReflection() protected méthode

Uses reflection to instantiate the IFieldGutter class
protected GetItem_FromReflection ( string nameSpace, string assemblyName, XmlNode validationNode ) : IMultiVariantMapping
nameSpace string
assemblyName string
validationNode System.Xml.XmlNode
Résultat IMultiVariantMapping

GetMapping() public méthode

Returns a mapping object
public GetMapping ( string templateId, Database database ) : IMultiVariantMapping
templateId string
database Database
Résultat IMultiVariantMapping

GetTemplate() public méthode

Returns a template item from one of the mappings
public GetTemplate ( string templateId, Database database ) : TemplateItem
templateId string
database Database
Résultat TemplateItem

IsVariantTemplate() public méthode

Verified that the passed template is a variant template within the mappings
public IsVariantTemplate ( string templateId ) : bool
templateId string
Résultat bool