view Chronosv2/source/Presentation/Windows/ActiveDesktopChangedInfo.cs @ 25:81f9b72a44ce

Tidy up
author adminsh@apollo
date Tue, 20 Mar 2012 21:22:00 +0000
parents 09d18d6e5f40
children
line wrap: on
line source

using Chronos.Presentation.Core.VirtualDesktops;

namespace Chronos.Presentation.Windows
{
    /// <summary>
    /// Actived desktop changed payload
    /// </summary>
    public sealed class ActiveDesktopChangedInfo
    {
        #region · Fields ·

        private IVirtualDesktop newActiveDesktop;

        #endregion

        #region · Properties ·

        /// <summary>
        /// Gets the new active desktop.
        /// </summary>
        /// <value>The new active desktop.</value>
        public IVirtualDesktop NewActiveDesktop
        {
            get { return this.newActiveDesktop; }
        }

        #endregion

        #region · Constructors ·

        /// <summary>
        /// Initializes a new instance of the <see cref="ActiveDesktopChangedInfo"/> class.
        /// </summary>
        /// <param name="newActiveDesktop">The new active desktop.</param>
        public ActiveDesktopChangedInfo(IVirtualDesktop newActiveDesktop)
        {
            this.newActiveDesktop = newActiveDesktop;
        }

        #endregion
    }
}