Click or drag to resize

ServiceLocatorRegisterTransientForSceneT Method (Scene)

Registers scene-specific a concrete transient type. A new instance of the given type will be returned each time it is resolved.

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>(
	Scene scene
)
where T : new()
Request Example View Source

Parameters

scene
Type: Scene
The scene to register the transient type for.

Type Parameters

T
The concrete transient type to register.
See Also