Search Results for

    Show / Hide Table of Contents

    Delegate PluginInitInjector.InjectParameterNested

    A typed injector for a plugin's Init method. When registered, called for all associated types. If it returns null, the default for the type will be used.

    Namespace: IPA.Loader
    Assembly: IPA.Loader.dll
    Syntax
    public delegate object InjectParameterNested(object previous, ParameterInfo param, PluginMetadata meta, PluginInitInjector.InjectedValueProvider provider);
    Parameters
    Type Name Description
    System.Object previous

    the previous return value of the function, or null if never called for plugin.

    System.Reflection.ParameterInfo param

    the System.Reflection.ParameterInfo of the parameter being injected.

    PluginMetadata meta

    the PluginMetadata for the plugin being loaded.

    PluginInitInjector.InjectedValueProvider provider

    an PluginInitInjector.InjectedValueProvider to allow the injector to request injected values.

    Returns
    Type Description
    System.Object

    the value to inject into that parameter.

    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[])
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX