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.