< Dice | FunctionRegistry
FunctionRegistry.Get Method (String, FunctionScope)
From DiceRoller Documentation
Retrieves the registration information for the given registered function.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
internal (string name, FunctionTiming timing, FunctionCallback callback) Get(
string lname,
FunctionScope scope
)
Parameters
- lname
- Type: System.String
- The name of the function to obtain, case-insensitive.
- scope
- Type: Dice.FunctionScope
- The scope of the function to obtain.
Return Value
Type: System.ValueTuple<System.String, Dice.FunctionTiming, Dice.FunctionCallback>
Function registration information consisting of the properly-cased function name, the function timing, and the callback for the function.