< Dice‎ | DiceFunctionAttribute
Revision as of 20:12, 12 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|DiceFunctionAttribute.Scope Property}} Gets or sets the scope of the dice function. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public FunctionScope Scope { get...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DiceFunctionAttribute.Scope Property

From DiceRoller Documentation

Gets or sets the scope of the dice function.

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

Syntax

public FunctionScope Scope { get; set; }

Property Value

Type: Dice.FunctionScope

The scope of the dice function.

Remarks

The default value for FunctionScope is FunctionScope.Global. The value of FunctionScope when the function is registered is saved, any changes after registration do not impact the registered version.