Difference between revisions of "Dice/AST/DiceAST/Evaluated"
From DiceRoller Documentation
(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...") |
(No difference)
|
Latest revision as of 21:36, 1 May 2017
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.