Difference between revisions of "Dice/RollResult/Expression"

From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.Expression Property}} Gets the normalized dice expression that was rolled. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public string Expression { get...")
 
(No difference)

Latest revision as of 17:58, 21 April 2017

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).