Class ResolveExpressionSettings
- Namespace
- CMS.MacroEngine
- Assembly
- CMS.MacroEngine.dll
Class containing settings for macro expression resolving process.
public class ResolveExpressionSettings
- Inheritance
-
objectResolveExpressionSettings
- Extension Methods
Constructors
ResolveExpressionSettings(string)
Creates new instance of resolve process settings for given expression.
public ResolveExpressionSettings(string expression)
Parameters
expression
stringExpression to be resolved
Properties
Expression
Macro expression without {% %} brackets.
public string Expression { get; set; }
Property Value
- string
KeepObjectsAsResult
If true, when the result is InfoObject it is the result, if false, object is resolved as its displayname (for backward compatibility).
public bool KeepObjectsAsResult { get; set; }
Property Value
- bool
SkipSecurityCheck
If true, security check is not performed
public bool SkipSecurityCheck { get; set; }
Property Value
- bool
SupressParsingError
If true no exceptions during parsing are thrown.
public bool SupressParsingError { get; set; }
Property Value
- bool
Type
Type of the expression (? or $ or %).
public string Type { get; set; }
Property Value
- string