< Dice | RollerConfig
RollerConfig.FunctionRegistry Property
From DiceRoller Documentation
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.