DieResult.Value Property

From DiceRoller Documentation

If the DieResult represents a die roll, this is the number of sides that die had.

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

Syntax

public decimal Value { get; set; }

Property Value

Type: System.Decimal

What the result of the roll was.

Remarks

If DieType is DieType.Special, this can be safely cast into SpecialDie.