Method Detach
Detach(CadCommandRegistry)
Takes the plugins' commands and those Attach(CadCommandRegistry) added out of a registry, as when its drawing is closed.
public bool Detach(CadCommandRegistry registry)
Parameters
registryCadCommandRegistryThe registry.
Returns
- bool
Whether it was attached.
Exceptions
- ArgumentNullException
Thrown when the registry is null.