Click or drag to resize

ServiceLocatorRegisterTransientForSceneT Method

Registers scene-specific a concrete transient type. A new instance of the given type will be returned each time it is resolved.
Remarks
The resolver is registered for the active scene according to GetActiveScene.

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

Type Parameters

T
The concrete transient type to register.
See Also