Interface ISingleton<TSelf>
Represents singleton pattern.
Namespace: DotNext.Patterns
Assembly: DotNext.dll
Syntax
public interface ISingleton<out TSelf> where TSelf : class, ISingleton<out TSelf>
Type Parameters
Name | Description |
---|---|
TSelf | Singleton type. |
Properties
| Edit this page View SourceInstance
Gets singleton value.
Declaration
public static abstract TSelf Instance { get; }
Property Value
Type | Description |
---|---|
TSelf |