< Dice‎ | AST‎ | DiceAST
Revision as of 21:36, 1 May 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|DiceAST.Evaluated Property}} Gets whether or not this node has been evaluated. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public bool Evaluated { get; private...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.