using System;

namespace HwComWrapperNETGui.UserControls
{
    /// <summary>
    ///     The device name <see cref="EventArgs"/> class.
    /// </summary>
    public class DeviceNameEventArgs : EventArgs
    {
        #region Constructors and Destructors

        /// <summary>
        ///     Initializes a new instance of the <see cref="DeviceNameEventArgs"/> class.
        /// </summary>
        /// <param name="deviceName"> the device name.</param>
        public DeviceNameEventArgs(string deviceName)
        {
            this.deviceName = deviceName;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the device name.
        /// </summary>
        public string DeviceName
        {
            get
            {
                return this.deviceName;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly string deviceName;

        #endregion
    }
}