namespace Chernobyl.Event { /// /// An event argument used when an instance of some type has been changed by /// the invoker of the event. /// /// The type of the values being changed. public class ValueChangedEventArgs : ItemsEventArgs { /// /// Constructor. /// /// The previous value of the item before it was /// changed. /// The new value of the item. public ValueChangedEventArgs(T oldValue, T newValue) : base(oldValue, newValue) { OldValue = oldValue; NewValue = newValue; } /// /// The old item or the previous value of the item before it was /// changed. /// public T OldValue { get; protected set; } /// /// The new item that was placed in the list. /// public T NewValue { get; protected set; } } }