Difference between revisions of "Dice/AST/DiceAST/UnderlyingRollNode"
From DiceRoller Documentation
(Created page with "{{APIdoc|DiceAST.UnderlyingRollNode Property}} Gets the roll node underneath this node, unless this node is a roll node of some sort. {{ns}} == Syntax == <syntaxhighlight la...") |
(No difference)
|
Latest revision as of 19:17, 16 May 2017
Gets the roll node underneath this node, unless this node is a roll node of some sort.
- Namespace: Dice.AST
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
protected internal virtual DiceAST UnderlyingRollNode { get; }
Property Value
Type: Dice.AST.DiceAST
The roll node underneath this node, unless this node is a roll node of some sort.
Remarks
The default implementation of UnderlyingRollNode returns this
. If you are implementing an intermediate node (such as a new extra), you should override this to return Expression.UnderlyingRollNode (assuming your node's reference to your child is named Expression).