f4d77bf8ce
* TopLeveExceptionHandlerBindings * Fixed idle manager on exceptional path * null bindings check * Made TopLevelExceptionHandler injectable * Revit now works * Fixed Tests * returned unintentional change
15 lines
474 B
C#
15 lines
474 B
C#
using Speckle.Autofac.DependencyInjection;
|
|
using Speckle.Connectors.DUI.Bridge;
|
|
|
|
namespace Speckle.Connectors.DUI.WebView;
|
|
|
|
public static class ContainerRegistration
|
|
{
|
|
public static void AddDUIView(this SpeckleContainerBuilder speckleContainerBuilder)
|
|
{
|
|
// send operation and dependencies
|
|
speckleContainerBuilder.AddSingleton<DUI3ControlWebView>();
|
|
speckleContainerBuilder.AddSingleton<IBrowserScriptExecutor>(c => c.Resolve<DUI3ControlWebView>());
|
|
}
|
|
}
|