Click or drag to resize
MacroProcessingContext Class
Context for macro processing (context for parsing the text for macro expressions).
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineMacroProcessingContext

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
public class MacroProcessingContext

The MacroProcessingContext type exposes the following members.

Constructors
  NameDescription
Public methodMacroProcessingContext
Top
Properties
  NameDescription
Public propertyBracketType
Type of the baracket - used for backward compatibility when macros could be nested '{(0)% %(0)}'
Public propertyExpression
Identified macro expression including all the parameters.
Public propertyIsOpenExpression
Indicates whether the expression is transformed open expression (condition, loop).
Public propertyMacroEnd
End of the macro (position after end bracket).
Public propertyMacroStart
Start position of the macro (position of starting bracket).
Public propertyMacroType
Type of the macro ($, %, #, etc.).
Public propertyParameter
Custom object parameter passed to the processing handler.
Public propertyReplacement
Replacement string passed to the macro handler.
Public propertySourceText
Text in which the macro was found.
Top
Methods
  NameDescription
Public methodGetWholeMacroExpression
Returns the whole version of the expression created by concatenation of the parameters. The result is for example this: {(0)%test%(0)}.
Top
See Also