Difference between revisions of "Dice/MacroRegistry/Callbacks"

From DiceRoller Documentation
(Created page with "{{APIdoc|MacroRegistry.Callbacks Field}} Contains a mapping of all registered macros to their callback and other registration information. {{ns}} == Syntax == <syntaxhighlig...")
 
(No difference)

Latest revision as of 21:52, 15 September 2017

Contains a mapping of all registered macros to their callback and other registration information.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

private Dictionary<string, (string name, MacroCallback callback)> Callbacks

Field Value

Type: System.Collections.Generic.Dictionary<System.String, System.ValueTuple<System.String, Dice.MacroCallback>>

A mapping of lowercased name to macro registration details.