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