Show / Hide Table of Contents

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 Source

Instance

Gets singleton value.

Declaration
public static abstract TSelf Instance { get; }
Property Value
Type Description
TSelf
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾