private void DoTest() { this.AllServiceTypesToRegist().ToList().ForEach(o => DependencyResolver.Resolve(o)); AppDomain.CurrentDomain.UnhandledException += (s, e) => { }; }