Table of Contents

Constructor CadCommandSession

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CadCommandSession(CadDocument, CadCommandRegistry)

Makes the command line of a document.

public CadCommandSession(CadDocument document, CadCommandRegistry registry = null)

Parameters

document CadDocument

The document.

registry CadCommandRegistry

The commands it knows; those of CreateDefault() where null.

Exceptions

ArgumentNullException

Thrown when the document is null.