Difference between revisions of "WireCAD.Workspace Object"

From WireCAD Online Help
Jump to: navigation, search
(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...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
The WireCAD.Workspace object is a singleton pattern that is only instantiated once per session.<br>
 
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, thus avoiding, or in practice, minimizing the use of global static variables.
 
The practice is to pass the Workspace object to all class constructors, thus avoiding, or in practice, minimizing the use of global static variables.
 +
 +
[[https://www.wirecad.com/api/90/exe/index.html#type/Workspace Workspace API]]

Latest revision as of 20:05, 3 December 2016

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.

[Workspace API]