Class Singleton<TConcrete>

Implements the Singleton design pattern.

Inheritance
System.Object
Singleton<TConcrete>
Namespace: Solti.Utils.Primitives.Patterns
Assembly: Solti.Utils.Primitives.dll
Syntax
public abstract class Singleton<TConcrete> : Object where TConcrete : Singleton<TConcrete>, new()
Type Parameters
Name Description
TConcrete

Constructors

Singleton()

Declaration
protected Singleton()

Properties

Instance

The singleton instance.

Declaration
public static TConcrete Instance { get; }
Property Value
Type Description
TConcrete
In This Article
Back to top Generated by DocFX