using System;
using Ebel.Hardware.Communications;

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

        /// <summary>
        ///     Initializes a new instance of the <see cref="AnalyzerConfigureEventArgs"/> class.
        /// </summary>
        public AnalyzerConfigureEventArgs(IAnalyzerConfiguration analyzerConfiguration)
        {
            this.analyzerConfiguration = analyzerConfiguration;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the Analyzer Configuration
        /// </summary>
        public IAnalyzerConfiguration AnalyzerConfiguration
        {
            get
            {
                return this.analyzerConfiguration;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly IAnalyzerConfiguration analyzerConfiguration;

        #endregion
    }
}