Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
ClassicalDesignPatternsInCSharp
Singleton
SimpleSingleton
C# Класс 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.
Показать файл
Открыть проект
Приватные методы
Метод
Описание
SimpleSingleton
( )
Prevents a default instance of the
SimpleSingleton
class from being created.