Difference between revisions of "Dice/FunctionContext/Value"

From DiceRoller Documentation
(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; } </...")
 
(No difference)

Latest revision as of 17:40, 27 April 2017

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.