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.