< Dice‎ | FunctionContext
Revision as of 17:40, 27 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|FunctionContext.Value Property}} Gets or sets the result of the function call. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public decimal Value { get; set; } </...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

FunctionContext.Value Property

From DiceRoller Documentation

Gets or sets the result of the function call.

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

Syntax

public decimal Value { get; set; }

Property Value

Type: System.Decimal

The result of the function call.

Remarks

The callback must set Value to something other than Decimal.MinValue. Failure to do so will result in an InvalidOperationException being thrown.