< Dice‎ | RollerConfig
Revision as of 19:33, 24 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|RollerConfig.FunctionRegistry Property}} Gets or sets the registry of all valid function names and their callbacks. {{ns}} == Syntax == <syntaxhighlight lang="C#">...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RollerConfig.FunctionRegistry Property

From DiceRoller Documentation

Gets or sets the registry of all valid function names and their callbacks.

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

Syntax

public FunctionRegistry FunctionRegistry { get; set; }

Property Value

Type: Dice.FunctionRegistry

The function registry containing registered function callbacks.

Remarks

RollerConfig is initialized with a function registry containing all built-in functions registered. If you want to remove or override built-in functions, you can either call Remove() on them, or you can create a new FunctionRegistry object (which does not have any built-in functions registered) and assign it to the config.