RollResult.Expression Property

From DiceRoller Documentation

Gets the normalized dice expression that was rolled.

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

Syntax

public string Expression { get; private set; }

Property Value

Type: System.String

The normalized dice expression that was rolled.

Remarks

This is equivalent to RollRoot.ToString(), however this will be defined even in cases where RollRoot is null (such as after deserializing a RollResult).