WireCAD.Workspace Object

From WireCAD Online Help
Revision as of 20:02, 3 December 2016 by Wirecadadmin (Talk | contribs) (Created page with "The WireCAD.Workspace object is a singleton pattern that is only instantiated once per session.<br> The practice is to pass the Workspace object to all class constructors, thu...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The WireCAD.Workspace object is a singleton pattern that is only instantiated once per session.
The practice is to pass the Workspace object to all class constructors, thus avoiding, or in practice, minimizing the use of global static variables.