| 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 public static bool IsRegistered<T>(
bool includeActiveScene = true
)
Request Example
View SourceParameters
- 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:
BooleanTrue if registered, false otherwise.
See Also