< Dice‎ | RollerConfig
Revision as of 21:31, 4 August 2017 by Skizzerz (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.