/// <inheritdoc /> public void AddPreLoadedScript(string script) { Verify.IsFalse(IsDisposed); Verify.Implies(Initializing, !Initialized); Verify.Implies(Initialized, WebViewControlInitialized); _webViewControl?.AddPreLoadedScript(script); }
/// <inheritdoc /> public void AddPreLoadedScript(string script) { Verify.IsFalse(IsDisposed); Verify.Implies(Initializing, !Initialized); #if DEBUG if (!DesignMode) { Verify.Implies(Initialized, WebViewControlInitialized); } #endif _webViewControl?.AddPreLoadedScript(script); }