< Dice | MacroRegistry
Difference between revisions of "Dice/MacroRegistry/Get"
From DiceRoller Documentation
(Created page with "{{APIdoc|MacroRegistry.Get Method (String)}} Retrieves the registration information for the given registered macro. {{ns}} == Syntax == <syntaxhighlight lang="C#"> internal...") |
(No difference)
|
Latest revision as of 18:59, 15 September 2017
Retrieves the registration information for the given registered macro.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
internal (string name, MacroCallback callback) Get(
string lname
)
Parameters
- lname
- Type: System.String
- The name of the function to obtain, case-insensitive.
Return Value
Type: System.ValueTuple<System.String, Dice.MacroCallback>
Macro registration information consisting of the properly-cased macro name and the callback for the macro.