Show / Hide Table of Contents

    AutofacLoader 类

    继承
    System.Object
    AutofacLoader
    实现
    ILoader
    继承成员
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    命名空间: HuajiTech.CoolQ.Loaders
    程序集: HuajiTech.CoolQ.Loaders.Autofac.dll
    语法
    public class AutofacLoader : ILoader

    构造函数

    | 改善此文档 查看源代码

    AutofacLoader(ContainerBuilder)

    声明
    public AutofacLoader(ContainerBuilder builder)
    参数
    类型 名称 描述
    Autofac.ContainerBuilder builder

    属性

    | 改善此文档 查看源代码

    Container

    声明
    public IContainer Container { get; }
    属性值
    类型 描述
    Autofac.IContainer

    方法

    | 改善此文档 查看源代码

    Build()

    声明
    public AutofacLoader Build()
    返回
    类型 描述
    AutofacLoader
    | 改善此文档 查看源代码

    GetPlugin(Type)

    声明
    public object GetPlugin(Type pluginType)
    参数
    类型 名称 描述
    System.Type pluginType
    返回
    类型 描述
    System.Object
    | 改善此文档 查看源代码

    GetPlugin<TPlugin>()

    声明
    public TPlugin GetPlugin<TPlugin>()
    返回
    类型 描述
    TPlugin
    类型参数
    名称 描述
    TPlugin
    | 改善此文档 查看源代码

    GetPlugins(AppLifecycle)

    声明
    public IReadOnlyCollection<object> GetPlugins(AppLifecycle loadTiming)
    参数
    类型 名称 描述
    AppLifecycle loadTiming
    返回
    类型 描述
    System.Collections.Generic.IReadOnlyCollection<System.Object>
    | 改善此文档 查看源代码

    Init()

    声明
    public AutofacLoader Init()
    返回
    类型 描述
    AutofacLoader
    | 改善此文档 查看源代码

    RegisterPlugins(Assembly)

    声明
    public AutofacLoader RegisterPlugins(Assembly assembly)
    参数
    类型 名称 描述
    System.Reflection.Assembly assembly
    返回
    类型 描述
    AutofacLoader
    | 改善此文档 查看源代码

    RegisterSdk()

    声明
    public AutofacLoader RegisterSdk()
    返回
    类型 描述
    AutofacLoader

    实现

    ILoader
    • 改善此文档
    • 查看源代码
    Back to top 本文档使用 CC BY-NC-SA 4.0 进行许可。