Files
DynamicDataDisplay/Common/ValueChangedEventArgs.cs
2024-02-23 00:46:06 -05:00

29 lines
529 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.Research.DynamicDataDisplay.Common
{
public sealed class ValueChangedEventArgs<T> : EventArgs
{
public ValueChangedEventArgs(T prevValue, T currValue)
{
this.prevValue = prevValue;
this.currValue = currValue;
}
private readonly T prevValue;
public T PreviousValue
{
get { return prevValue; }
}
private readonly T currValue;
public T CurrentValue
{
get { return currValue; }
}
}
}