public void Setup() { _backup = Environment.CurrentDirectory; Environment.CurrentDirectory = TestContext.CurrentContext.TestDirectory; OneLauncherContainer.ConfigureDependencyInjection(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); OneLauncherContainer.ConfigureDependencyInjection(); AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; }