Difference between revisions of "Dice/DiceFunctionAttribute/Scope"
From DiceRoller Documentation
(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...") |
(No difference)
|
Latest revision as of 20:12, 12 April 2017
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.