Table of Contents

Class EvaluationResult

Namespace
CMS.MacroEngine
Assembly
CMS.MacroEngine.dll

Context for macro expression evaluation.

public class EvaluationResult
Inheritance
object
EvaluationResult
Extension Methods

Properties

ContextUsed

Evaluation context used to get this result.

public EvaluationContext ContextUsed { get; set; }

Property Value

EvaluationContext

Match

Gets or sets the parent context (null if the context was created by constructor).

public bool Match { get; set; }

Property Value

bool

Result

Result of the expression evaluation

public object Result { get; set; }

Property Value

object

SecurityPassed

Determines whether the security check passed (if the user and hash parameters correspond to the given expression and if the user has sufficient permission).

public bool SecurityPassed { get; set; }

Property Value

bool

Skipped

This will be true if the evaluation process was skiped because the resolver used had different name than required resolver.

public bool Skipped { get; set; }

Property Value

bool

Methods

ToString()

Returns result to string (returns "null" if result is null).

public override string ToString()

Returns

string