Class Singleton<T>
Temporary DI hack for public static references.
Inherited Members
Namespace: LemonEdge.Utils
Assembly: LemonEdge.Utils.dll
Syntax
public class Singleton<T> where T : class
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
Singleton()
Declaration
public Singleton()
Properties
Instance
Declaration
public T Instance { get; set; }
Property Value
| Type | Description |
|---|---|
| T |
Methods
Reset()
Declaration
public void Reset()