Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
ClassicalDesignPatternsInCSharp
Singleton
SimpleSingleton
C# Class ClassicalDesignPatternsInCSharp.Singleton.SimpleSingleton
Encapsulates the implementation of the Singleton design pattern as described by the Gang of For (GoF).
The solution provided by the
SimpleSingleton
class has the disadvantage of being not thread-safe.
Mostrar archivo
Open project: zeiss-digital-innovation/ClassicalDesignPatternsInCSharp
Private Methods
Method
Description
SimpleSingleton
( )
Prevents a default instance of the
SimpleSingleton
class from being created.