// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
usingSystem;
namespaceWox.Plugin.Common.VirtualDesktop.Helper
{
/// <summary>
/// Class that represents a Virtual Desktop
/// </summary>
/// <remarks>This class is named VDesktop to make clear it isn't an instance of the original Desktop class from Virtual Desktop Manager.
/// We can't use the original one, because therefore we must access private com interfaces. We aren't allowed to do this, because this is an official Microsoft project.</remarks>
publicclassVDesktop
{
/// <summary>
/// Gets or sets the guid of the desktop
/// </summary>
publicGuidId
{
get;set;
}
/// <summary>
/// Gets or sets the name of the desktop
/// </summary>
publicstringName
{
get;set;
}
/// <summary>
/// Gets or sets the number (position) of the desktop
/// </summary>
publicintNumber
{
get;set;
}
/// <summary>
/// Gets or sets a value indicating whether the desktop is currently visible to the user
/// </summary>
publicboolIsVisible
{
get;set;
}
/// <summary>
/// Gets or sets a value indicating whether the desktop guid belongs to the generic "AllDesktops" view.
/// This view hold all windows that are pinned to all desktops.
/// </summary>
publicboolIsAllDesktopsView
{
get;set;
}
/// <summary>
/// Gets or sets a value indicating the position of a desktop in the list of all desktops
/// </summary>
publicVirtualDesktopPositionPosition
{
get;set;
}
/// <summary>
/// Gets an empty instance of <see cref="VDesktop"/>