< Dice | RollerConfig
Difference between revisions of "Dice/RollerConfig/MacroRegistry"
From DiceRoller Documentation
(Created page with "{{APIdoc|RollerConfig.FunctionRegistry Property}} Gets or sets the registry of all valid macro names and their callbacks. {{ns}} == Syntax == <syntaxhighlight lang="C#"> pub...") |
(No difference)
|
Revision as of 21:31, 4 August 2017
Gets or sets the registry of all valid macro names and their callbacks.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public MacroRegistry MacroRegistry { get; set; }
Property Value
Type: Dice.MacroRegistry
The function registry containing registered function callbacks.
Remarks
RollerConfig is initialized with an empty MacroRegistry. Attempting to use a macro not in the registry reports an error of DiceErrorCode.InvalidMacro.