using System;
using Ebel.Hardware.Communications;

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

        /// <summary>
        ///     Initializes a new instance of the <see cref="NICConfigEventArgs"/> class.
        /// </summary>
        /// <param name="nicConfig"> the network interface card configuration.</param>
        public NICConfigEventArgs(NICConfig nicConfig)
        {
            this.nicConfig = nicConfig;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the network interface card configuration.
        /// </summary>
        public NICConfig NICConfig
        {
            get
            {
                return this.nicConfig;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly NICConfig nicConfig;

        #endregion
    }
}