Method Register
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Register(ICadEntityOwner)
Registers an owner under its name.
public void Register(ICadEntityOwner owner)
Parameters
ownerICadEntityOwnerThe owner.
Exceptions
- ArgumentNullException
Thrown when the owner is null.
- ArgumentException
Thrown when the owner's name is null or empty, or an owner of that name is registered already.