Class InitAttribute
Marks a method or a constructor as an inialization method.
Implements
Inherited Members
Namespace: IPA
Assembly: IPA.Loader.dll
Syntax
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class InitAttribute : Attribute, _Attribute
Remarks
If more than one constructor is marked with this attribute, the one with the most parameters, whether or not they can be injected, will be used.
Parameter injection is done with PluginInitInjector.