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.