GameDB  1.6.0
GameDB Pro is a plugin that provides an easy to use and powerful game and meta data editor
GameDBLibrary.Singleton< T > Class Template Reference

A helper base class for creating singletons. Used internally but provided for utility reasons. More...

Properties

static T Instance [get]
 Returns the singleton instance (and instantiates it if not already instantiated) More...
 

Detailed Description

A helper base class for creating singletons. Used internally but provided for utility reasons.

Template Parameters
TThe type of the singleton class
Type Constraints
T :class 
T :new() 

Property Documentation

◆ Instance

T GameDBLibrary.Singleton< T >.Instance
staticget

Returns the singleton instance (and instantiates it if not already instantiated)

The singleton instance of the inherited class.