< Dice‎ | RollResult
Revision as of 17:58, 21 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|RollResult.Expression Property}} Gets the normalized dice expression that was rolled. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public string Expression { get...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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