Class PluginInitInjector
The type that handles value injecting into a plugin's Init.
Inheritance
System.Object
PluginInitInjector
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: IPA.Loader
Assembly: IPA.Loader.dll
Syntax
public static class PluginInitInjector
Methods
| Improve this Doc View SourceAddInjector(Type, PluginInitInjector.InjectParameter)
Adds an injector to be used when calling future plugins' Init methods.
Declaration
public static void AddInjector(Type type, PluginInitInjector.InjectParameter injector)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | the type of the parameter. |
PluginInitInjector.InjectParameter | injector | the function to call for injection. |