/// <inheritdoc/> public virtual IHostWindow?GetHostWindow(string id) { if (!string.IsNullOrEmpty(id)) { Func <IHostWindow>?locator = null; if (HostWindowLocator?.TryGetValue(id, out locator) == true) { return(locator?.Invoke()); } } return(null); }
/// <inheritdoc/> public virtual IHostWindow?GetHostWindow(string id) { if (!string.IsNullOrEmpty(id)) { Func <IHostWindow>?locator = null; if (HostWindowLocator?.TryGetValue(id, out locator) == true) { return(locator?.Invoke()); } } Debug.WriteLine($"Host window with provided id={id} is not registered."); return(null); }