Class MacroRuleInfoProvider
- Namespace
- CMS.MacroEngine
- Assembly
- CMS.MacroEngine.dll
Class providing MacroRuleInfo management.
[ProviderInterface(typeof(IMacroRuleInfoProvider))]
public class MacroRuleInfoProvider : AbstractInfoProvider<MacroRuleInfo, MacroRuleInfoProvider>, IInfoProvider, ICustomizableProvider, IBulkOperationProvider, IWebFarmProvider, IInfoValidator<MacroRuleInfo>, IInfoByGuidProvider<MacroRuleInfo>, IBulkInfoProvider<MacroRuleInfo>, IMacroRuleInfoProvider, IInfoProvider<MacroRuleInfo>, IInfoByIdProvider<MacroRuleInfo>, IInfoByNameProvider<MacroRuleInfo>
- Inheritance
-
objectMacroRuleInfoProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
MacroRuleInfoProvider()
Constructor which enables caching by code name and ID.
public MacroRuleInfoProvider()
Methods
GetMacroRulesCondition(MacroRuleInfo, Hashtable)
Returns condition in K# language from given rule info and parameters.
public string GetMacroRulesCondition(MacroRuleInfo rule, Hashtable parameters)
Parameters
rule
MacroRuleInfoRule to get the condition from
parameters
HashtableParameter values to complete the condition
Returns
- string
GetMacroRulesConditionInternal(MacroRuleInfo, Hashtable)
Returns condition in K# language from given rule info and parameters.
protected virtual string GetMacroRulesConditionInternal(MacroRuleInfo rule, Hashtable parameters)
Parameters
rule
MacroRuleInfoRule to get the condition from
parameters
HashtableParameter values to complete the condition
Returns
- string