< Dice | FunctionRegistry
Difference between revisions of "Dice/FunctionRegistry/Get"
From DiceRoller Documentation
(Created page with "{{APIdoc|FunctionRegistry.Get Method (String, FunctionScope)}} Retrieves the registration information for the given registered function. {{ns}} == Syntax == <syntaxhighlight...") |
(No difference)
|
Latest revision as of 22:22, 27 April 2017
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.