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

Exibir arquivo Open project: Velir/Sitecore-Analytics Class Usage Examples

Private Properties

Property Type Description
GetAssembly System.Reflection.Assembly
GetItem_FromXmlNode IMultiVariantMapping

Public Methods

Method 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

Protected Methods

Method Description
GetItem_FromReflection ( string nameSpace, string assemblyName, XmlNode validationNode ) : IMultiVariantMapping

Uses reflection to instantiate the IFieldGutter class

Private Methods

Method Description
GetAssembly ( string assemblyName ) : Assembly
GetItem_FromXmlNode ( XmlNode validationNode ) : IMultiVariantMapping

Method Details

GetItem_FromReflection() protected method

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
return IMultiVariantMapping

GetMapping() public method

Returns a mapping object
public GetMapping ( string templateId, Database database ) : IMultiVariantMapping
templateId string
database Database
return IMultiVariantMapping

GetTemplate() public method

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

IsVariantTemplate() public method

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