using System;

namespace IOB_UT_NEXT
{
    /// <summary>
    /// Evento per incapsulare dati x refresh pagina
    /// </summary>
    public class iobRefreshedEventArgs : EventArgs
    {
        #region Public Constructors

        /// <summary>
        /// salvataggio obj
        /// </summary>
        /// <param name="newObject"></param>
        public iobRefreshedEventArgs(newDisplayData newObject)
        {
            _newDisplayData = newObject;
        }

        #endregion Public Constructors

        #region Public Properties

        /// <summary>
        /// Proprietà lettura displayData aggiornato
        /// </summary>
        public newDisplayData DisplayDataObject
        {
            get { return _newDisplayData; }
        }

        #endregion Public Properties

        #region Private Fields

        /// <summary>
        /// classe obj privata
        /// </summary>
        private readonly newDisplayData _newDisplayData;

        #endregion Private Fields
    }
}