using System; namespace JD.Sequencers.Times { /// /// Standard way of notifying of a value changed. /// public class ValueChangedEventArgs : EventArgs { #region Variables private readonly TValue m_oldValue; private readonly TValue m_newValue; #endregion #region Constructor /// /// Ctor. /// /// /// public ValueChangedEventArgs(TValue oldValue, TValue newValue) { m_oldValue = oldValue; m_newValue = newValue; } #endregion #region Properties /// /// Value before the changing of value. /// public TValue OldValue { get { return m_oldValue; } } /// /// Value before the changing of value. /// public TValue NewValue { get { return m_newValue; } } #endregion } }