< Dice‎ | MacroRegistry
Revision as of 18:59, 15 September 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|MacroRegistry.Get Method (String)}} Retrieves the registration information for the given registered macro. {{ns}} == Syntax == <syntaxhighlight lang="C#"> internal...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MacroRegistry.Get Method (String)

From DiceRoller Documentation

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.