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
documentCadDocumentThe document.
registryCadCommandRegistryThe commands it knows; those of CreateDefault() where null.
Exceptions
- ArgumentNullException
Thrown when the document is null.