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.