Пример #1
0
 public override void Unload()
 {
     //停止调度
     DependencyResolver.Resolve <Taobao.Workflow.Activities.Hosting.IScheduler>().Stop();
     SystemConfig.Cleanup();
 }
Пример #2
0
 private void DoTest()
 {
     this.AllServiceTypesToRegist().ToList().ForEach(o => DependencyResolver.Resolve(o));
     AppDomain.CurrentDomain.UnhandledException += (s, e) => { };
 }