public void Setup()
        {
            _backup = Environment.CurrentDirectory;

            Environment.CurrentDirectory = TestContext.CurrentContext.TestDirectory;
            OneLauncherContainer.ConfigureDependencyInjection();
        }
示例#2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            OneLauncherContainer.ConfigureDependencyInjection();

            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
        }