Esempio n. 1
0
        private void Run()
        {
            ConsoleMain.InvokeMember("Main", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Static, null, null, new object[] { new string[] { "//r", this._settingsFile } });

            this.RestorConsoleOutput();

            lock (SyncLock)
            {
                Signal = true;
            }

            if (File.Exists(this._settingsFile))
            {
                this.Log(Level.Verbose, "Deleting settings file: " + this._settingsFile);
                File.Delete(this._settingsFile);
            }
            if (this._registerProfiler)
            {
                NCoverUtilities.UnregisterNCover();
            }
        }