Difference between revisions of "Dice/ExtensionMethods"

From DiceRoller Documentation
(Created page with "{{APIdoc|ExtensionMethods Class}} Internal extension methods that are not useful for general consumption. {{ns}} == Inheritance Hierarchy == System.Object : Dice.ExtensionMe...")
 
Line 18: Line 18:
 
! Name !! Description
 
! Name !! Description
 
|-
 
|-
| {{internal}} {{static}} {{method}} || [[/GetDescriptionString|GetDescriptionString]] || Retrieves the value of the DescriptionAttribute for the given [[Dice/DiceErrorCode|DiceErrorCode]].
+
| {{internal}} {{static}} {{method}} || [[/GetDescriptionString|GetDescriptionString(DiceErrorCode)]] || Retrieves the value of the DescriptionAttribute for the given [[Dice/DiceErrorCode|DiceErrorCode]].
 +
|-
 +
| {{internal}} {{static}} {{method}} || [[/IsRoll|IsRoll(DieType)]] || Determines whether or not the [[Dice/DieType|DieType]] represents a roll.
 
|}
 
|}

Revision as of 05: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.