Singleton Pattern
Patterns
noreferences
@@tooltip Singleton is a pattern that ensures only one instance of a given class can be created

@@description
<p>Use the Singleton keyword to mark a class as a singleton class. The code ensures that only one object of the class is instantiated at runtime.</p>

<p><a href="https://en.wikipedia.org/wiki/Singleton_pattern" target="wikipedia">For more details on the Singleton pattern, see this Wikipedia page.</a></p>

@@syntax
[[singleton]] [[softwarePattern]]

@@example
@@source manualexamples/SingletonPattern1.ump
@@endexample
