< Dice‎ | FunctionContext
Revision as of 17:43, 27 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|FunctionContext.Values Property}} Gets or sets the underlying dice rolls for the function call that should be shown in the overall result. {{ns}} == Syntax == <synt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

FunctionContext.Values Property

From DiceRoller Documentation

Gets or sets the underlying dice rolls for the function call that should be shown in the overall result.

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

Syntax

public IEnumerable<DieResult> Values { get; set; }

Property Value

Type: System.Collections.Generic.IEnumerable<Dice.DieResult>

The underlying dice rolls for the function call that should be shown in the overall result.

Remarks

If null, the underlying Values of Expression are used (if any). If Expression is also null (such as when a global function is being called), a new DieResult is added with DieType.Literal containing Value. This automatically generated DieResult has the DieFlags.Macro flag.