/// <summary> /// 添加程序集中的处理类。 /// </summary> /// <param name="assemblyName"></param> public void AddHandlers(string assemblyName) { ServiceManager.AddHandlers(Assembly.Load(assemblyName)); }
/// <summary> /// 添加程序集中的处理类。 /// </summary> /// <param name="assembly"></param> public void AddHandlers(Assembly assembly) { ServiceManager.AddHandlers(assembly); }