Click or drag to resize

ServiceLocatorIsRegisteredT Method

Checks whether there's registered a resolver for a specific 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 bool IsRegistered<T>(
	bool includeActiveScene = true
)
Request Example View Source

Parameters

includeActiveScene (Optional)
Type: SystemBoolean
Whether to search for a scene specific resolver if a global one isn't found.

Type Parameters

T
The type to check if registered.

Return Value

Type: Boolean
True if registered, false otherwise.
See Also