Ejemplo n.º 1
0
        /// <summary>
        /// Called when [after browser created].
        /// </summary>
        /// <param name="browser">The browser.</param>
        void IWebBrowserInternal.OnAfterBrowserCreated(IBrowser browser)
        {
            this.browser = browser;

            IsBrowserInitialized = true;

            BrowserInitialized?.Invoke(this, EventArgs.Empty);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Called when [after browser created].
        /// </summary>
        /// <param name="browser">The browser.</param>
        void IWebBrowserInternal.OnAfterBrowserCreated(IBrowser browser)
        {
            this.browser = browser;

            Interlocked.Exchange(ref browserInitialized, 1);

            BrowserInitialized?.Invoke(this, EventArgs.Empty);
        }
        /// <summary>
        /// Called when [after browser created].
        /// </summary>
        /// <param name="browser">The browser.</param>
        void IWebBrowserInternal.OnAfterBrowserCreated(IBrowser browser)
        {
            if (IsDisposed || browser.IsDisposed)
            {
                return;
            }

            this.browser = browser;

            Interlocked.Exchange(ref browserInitialized, 1);

            BrowserInitialized?.Invoke(this, EventArgs.Empty);
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Called when [after browser created].
 /// </summary>
 /// <param name="browser">The browser.</param>
 partial void OnAfterBrowserCreated(IBrowser browser)
 {
     onAfterBrowserCreatedDelegate?.Invoke(browser);
     BrowserInitialized?.Invoke(this, EventArgs.Empty);
 }