< Dice‎ | AST‎ | DiceAST

DiceAST.Evaluated Property

From DiceRoller Documentation

Gets whether or not this node has been evaluated.

  • Namespace: Dice.AST
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public bool Evaluated { get; private set; }

Property Value

Type: System.Boolean

Whether or not this node has been evaluated.

Remarks

If false, then Value, Values, and ValueType are not valid to be used. Generally, this will always be true unless you're inside of EvaluateInternal of a custom DiceAST subclass, or if you call Roller.Parse to obtain a DiceAST tree without evaluating it.