namespace HKW.HKWUtils.Observable;
///
/// 属性改变后事件参数
///
public class PropertyChangedXEventArgs : EventArgs
{
///
/// 属性名
///
public string PropertyName { get; }
///
/// 旧值
///
public object? OldValue { get; }
///
/// 新值
///
public object? NewValue { get; }
///
/// 属性名
/// 旧值
/// 新值
public PropertyChangedXEventArgs(string propertyName, object? oldValue, object? newValue)
{
PropertyName = propertyName;
OldValue = oldValue;
NewValue = newValue;
}
}