internal static IVirtualDesktop GetVirtualDesktop(Guid id) { VirtualDesktopHelper.ThrowIfNotSupported(); return(_virtualDesktops.GetOrAdd(id, x => VirtualDesktopManagerInternal.FindDesktop(ref x))); }