Table of Contents

Method Register

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Register(ICadEntityOwner)

Registers an owner under its name.

public void Register(ICadEntityOwner owner)

Parameters

owner ICadEntityOwner

The 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.