internal AbstractWebBrowserConfigurationRunner(ThreadWrapperFactory threadWrapperFactory, WebBrowserFactory webBrowserFactory, WebBrowserConfigurationRunnerProcessor webBrowserConfigurationRunnerProcessor, WebBrowserDisposerFactory webBrowserDisposerFactory) { WebBrowserFactory = webBrowserFactory; ThreadWrapperFactory = threadWrapperFactory; WebBrowserConfigurationRunnerProcessor = webBrowserConfigurationRunnerProcessor; WebBrowserDisposerFactory = webBrowserDisposerFactory; }
private void WebBrowserConfigurationRunnerProcessor_WebBrowserConfigurationRunnerProcessorWasCompleted(object sender, EventArgs e) { WebBrowserConfigurationRunnerProcessor.WebBrowserConfigurationRunnerProcessorWasCompleted -= WebBrowserConfigurationRunnerProcessor_WebBrowserConfigurationRunnerProcessorWasCompleted; WebBrowserConfigurationRunWascompleted?.Invoke(this, null); WebBrowserDisposer webBrowserDisposer = WebBrowserDisposerFactory.GetWebBrowserDisposer(_webBrowser); webBrowserDisposer.Dispose(); ThreadWrapperKiller.Instance().Kill(_threadWrapper); }
internal ThreadLockWebBrowserConfigurationRunner(ThreadWrapperFactory threadWrapperFactory, WebBrowserFactory webBrowserFactory, WebBrowserConfigurationRunnerProcessor webBrowserConfigurationRunnerProcessor, WebBrowserDisposerFactory webBrowserDisposerFactory) : base(threadWrapperFactory, webBrowserFactory, webBrowserConfigurationRunnerProcessor, webBrowserDisposerFactory) { }