// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Bindables { /// /// An event fired when a value changes, providing the old and new value for reference. /// /// The type of bindable. public class ValueChangedEvent { /// /// The old value. /// public readonly T OldValue; /// /// The new (and current) value. /// public readonly T NewValue; public ValueChangedEvent(T oldValue, T newValue) { OldValue = oldValue; NewValue = newValue; } } }