Search Results for

    Show / Hide Table of Contents

    Class InitAttribute

    Marks a method or a constructor as an inialization method.

    Inheritance
    Object
    InitAttribute
    Namespace: IPA
    Assembly: IPA.Loader.dll
    Syntax
    public sealed class InitAttribute : 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.

    Extension Methods

    ReflectionUtil.SetField<T, U>(T, String, U)
    ReflectionUtil.GetField<U, T>(T, String)
    ReflectionUtil.SetProperty<T, U>(T, String, U)
    ReflectionUtil.GetProperty<U, T>(T, String)
    ReflectionUtil.InvokeMethod<U, T>(T, String, Object[])

    See Also

    PluginAttribute
    PluginInitInjector
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX