29 lines
529 B
C#
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; }
|
|
}
|
|
}
|
|
}
|