Class MacroService
- Namespace
- Dynamicweb.Extensibility.Macros
- Assembly
- Dynamicweb.Core.dll
The service that handles and evaluates macros used in code, i.e. smart searches and indexing engine.
- Inheritance
-
Macro
Service
- Inherited Members
Fields
ActionSplitChar
The action split character
Field Value
Properties
SupportedActions
Gets the supported actions.
Property Value
- IEnumerable<Macro
Action > The supported actions.
Methods
Evaluate(string)
Evaluates the specified action. Format: "{Name}:{Action}", where Name is the name of the Macro and Action is the action for the Macro to evaluate.
Parameters
macroActionId
stringThe macro action id to evaluate. Format: "{Name}:{Action}", where Name is the name of the Macro and Action is the action for the Macro to evaluate.