< Dice‎ | ExtensionMethods
Revision as of 19:12, 25 April 2017 by Skizzerz (talk | contribs) (→‎Return value)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ExtensionMethods.GetDescriptionString Method (DiceErrorCode)

From DiceRoller Documentation

Retrieves the value of the DescriptionAttribute for the given DiceErrorCode.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

internal static string GetDescriptionString(
    this DiceErrorCode code
)

Parameters

code
Type: Dice.DiceErrorCode
The error code to retrieve the description of.

Return Value

Type: System.String

The value of the DiceErrorCode's DescriptionAttribute.