Click or drag to resize

GenericSingletonProviderGetInstanceT Method

Returns the only instance of the desired class. This instance is created beforehand the first time it is called.

Namespace: NetEti.Globals
Assembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
Syntax
public static T GetInstance<T>()
where T : class

Type parameters

T
Type of class requested

Return value

T
An instance of the requested class as a singleton
See also