Singleton

Description

[ShutdownSurvive]
abstract class Tinman.Core.System.Singleton<T ref>

Derived from

SingletonBase abstract
IPleaseIncludeInBinaryThanks

Extended by

SingletonDefault sealed
SingletonFactory sealed

A singleton wrapper.

Public / Methods

Get


public method Get → ()

returns → T

The singleton instance.

Returns the singleton instance, creating it if necessary.

Protected / Methods

Create


protected abstract method Create → ()

returns → T

The singleton value.

Creates the singleton value.