Difference between revisions of "Dice/MacroContext/Values"

From DiceRoller Documentation
(Created page with "{{APIdoc|MacroContext.Values Property}} Gets or sets the underlying die results for the macro that should be shown in the overall result. {{ns}} == Syntax == <syntaxhighligh...")
 
 
Line 15: Line 15:
  
 
== Remarks ==
 
== Remarks ==
If {{cs|null}}, a new DieResult is added with DieType.Literal containing [[../Value|Value]]. This automatically generated DieResult has the DieFlags.Macro flag.
+
If {{cs|null}} or empty, a new DieResult is added with DieType.Literal containing [[../Value|Value]]. This automatically generated DieResult has the DieFlags.Macro flag.

Latest revision as of 18:31, 27 April 2017

Gets or sets the underlying die results for the macro 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 die results for the macro that should be shown in the overall result.

Remarks

If null or empty, a new DieResult is added with DieType.Literal containing Value. This automatically generated DieResult has the DieFlags.Macro flag.