TSingleton.GetInstance<T> Method
Gets the shared instance of a class.
public
class function GetInstance<T: class, constructor>: T; static;
Type Parameters
- T
- The type of a class which must have a default constructor.
Return Value
Type: T
Gets the shared instance of a class.
public
class function GetInstance<T: class, constructor>: T; static;