< Dice | MacroRegistry
MacroRegistry.RemoveGlobal Method (MacroCallback)
From DiceRoller Documentation
Removes all instances of the callback from the global macro registry.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public void RemoveGlobal(
MacroCallback callback
)
Parameters
- name
- Type: Dice.MacroCallback
- Callback to remove
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | callback is null .
|
Remarks
All instances of the callback are removed; it is not possible to remove just a single callback instance should the same callback be registered more than once. No error is thrown if the callback is not registered.