Click or drag to resize

ServiceLocatorRegisterSingletonT Method

Registers a concrete singleton of the given type.

Namespace:  Archon.SwissArmyLib.Utils
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static T RegisterSingleton<T>()
where T : new()
Request Example View Source

Type Parameters

T
The type of the singleton.

Return Value

Type: T

[Missing <returns> documentation for "M:Archon.SwissArmyLib.Utils.ServiceLocator.RegisterSingleton``1"]

See Also