Table of Contents

Class MacroService

Namespace
Dynamicweb.Extensibility.Macros
Assembly
Dynamicweb.Extensibility.dll
The service that handles and evaluates macros used in code, i.e. smart searches and indexing engine.
public class MacroService
Inheritance
MacroService
Inherited Members

Fields

ActionSplitChar

The action split character
public const char ActionSplitChar = ':'

Field Value

char

Properties

SupportedActions

Gets the supported actions.
public static IEnumerable<string> SupportedActions { get; }

Property Value

IEnumerable<string>
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.
public static object Evaluate(string input)

Parameters

input string
The input to evaluate. Format: "{Name}:{Action}", where Name is the name of the Macro and Action is the action for the Macro to evaluate.

Returns

object
To top