< Dice
Difference between revisions of "Dice/ExtensionMethods"
From DiceRoller Documentation
Line 21: | Line 21: | ||
|- | |- | ||
| {{internal}} {{static}} {{method}} || [[/IsRoll|IsRoll(DieType)]] || Determines whether or not the [[Dice/DieType|DieType]] represents a roll. | | {{internal}} {{static}} {{method}} || [[/IsRoll|IsRoll(DieType)]] || Determines whether or not the [[Dice/DieType|DieType]] represents a roll. | ||
+ | |- | ||
+ | | {{internal}} {{static}} {{method}} || [[/MaybeAddPlus|MaybeAddPlus(List<DieResult>)]] || Adds a SpecialDie.Add die to the values list unless the values list is empty or the last value is an open paren. | ||
|} | |} |
Revision as of 06:58, 15 April 2017
Internal extension methods that are not useful for general consumption.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Inheritance Hierarchy
System.Object
- Dice.ExtensionMethods
Syntax
internal static class ExtensionMethods
Methods
Name | Description | |
---|---|---|
S | GetDescriptionString(DiceErrorCode) | Retrieves the value of the DescriptionAttribute for the given DiceErrorCode. |
S | IsRoll(DieType) | Determines whether or not the DieType represents a roll. |
S | MaybeAddPlus(List<DieResult>) | Adds a SpecialDie.Add die to the values list unless the values list is empty or the last value is an open paren. |