< Dice | RollResult
RollResult Constructor (DiceAST)
From DiceRoller Documentation
Constructs a new instance of RollResult.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
internal RollResult(
DiceAST rollRoot
)
Parameters
- rollRoot
- Type: Dice.AST.DiceAST
- The root of the dice expression's AST.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | rollRoot is null.
|
Remarks
The RollResult's Value, Values, and ResultType are initialized from the corresponding properties on RollRoot.