using System;
using Ebel.Hardware.Communications;

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

        /// <summary>
        ///     Initializes a new instance of the <see cref="FilterConfigurationEventArgs"/> class.
        /// </summary>
        /// <param name="filterConfiguration"> the filter configuration</param>
        public FilterConfigurationEventArgs(IFilterConfiguration filterConfiguration)
        {
            this.filterConfiguration = filterConfiguration;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the filter configuration
        /// </summary>
        public IFilterConfiguration FilterConfiguration
        {
            get
            {
                return this.filterConfiguration;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly IFilterConfiguration filterConfiguration;

        #endregion
    }
}