protected override void HandleClosed() { lock (injectionWindowLock) { injectionWindow = null; } }
public static void Open(IInjectionObjectServices objectServices, IScriptServices scriptServices, IMainServices mainServices, InjectionConfiguration configuration) { Dispatcher.UIThread.InvokeAsync(() => { lock (injectionWindowLock) { if (injectionWindow == null) { injectionWindow = new InjectionWindow(configuration); } injectionWindow.Objects.SetServices(objectServices); injectionWindow.Scripts.SetServices(scriptServices); injectionWindow.Main.ViewModel.SetServices(injectionWindow.configuration, mainServices); injectionWindow.Show(); } }); }
public void Open(IInjectionObjectServices objectServices, IScriptServices scriptServices, IMainServices mainServices, InjectionConfiguration configuration) => InjectionWindow.Open(objectServices, scriptServices, mainServices, configuration);
public void Open(InjectionRuntime runtime, InjectionApiUO injectionApi, Legacy infusionApi, InjectionHost host) => InjectionWindow.Open(runtime, injectionApi, infusionApi, host);