Files
speckle-sharp-connectors/DUI3/Speckle.Connectors.DUI/Bridge/IBrowserScriptExecutor.cs
T
Jedd Morgan f4d77bf8ce Top Level Exception Handler and Bindings fix (#76)
* TopLeveExceptionHandlerBindings

* Fixed idle manager on exceptional path

* null bindings check

* Made TopLevelExceptionHandler injectable

* Revit now works

* Fixed Tests

* returned unintentional change
2024-07-27 12:40:21 +01:00

18 lines
698 B
C#

namespace Speckle.Connectors.DUI.Bridge;
public interface IBrowserScriptExecutor
{
/// <exception cref="InvalidOperationException">thrown when <see cref="IsBrowserInitialized"/> is <see langword="false"/></exception>
/// <param name="script">The (constant string) script to execute on the browser</param>
public void ExecuteScriptAsyncMethod(string script);
public bool IsBrowserInitialized { get; }
public object BrowserElement { get; }
/// <summary>
/// Action that opens up the developer tools of the respective browser we're using. While webview2 allows for "right click, inspect", cefsharp does not - hence the need for this.
/// </summary>
public void ShowDevTools();
}