Class IUsesFunctionalityInjectionMethods
Extension methods for users of Functionality Injection
Inherited Members
Namespace: Unity.XRTools.ModuleLoader
Assembly: solution.dll
Syntax
public static class IUsesFunctionalityInjectionMethods
Methods
Name | Description |
---|---|
InjectFunctionality(IUsesFunctionalityInjection, List<object>) | Inject functionality into a list of objects The list is scanned for unique types, and for each unique type, a new provider is created if it does not already exist. |
InjectFunctionalitySingle(IUsesFunctionalityInjection, object) | Inject functionality into a single object This method does not check the object's type and assumes that providers have been set up. If no providers exist that match subscriber interfaces on the object, no action is taken. |
InjectPreparedFunctionality(IUsesFunctionalityInjection, List<object>) | Inject functionality into a list of objects This method assumes that all necessary providers have been prepared. If no providers exist that match subscriber interfaces on the object, no action is taken. Useful in cases where functionality is already setup, as it is faster than InjectFunctionality. |