Initial Commit
This commit is contained in:
28
Common/ValueChangedEventArgs.cs
Normal file
28
Common/ValueChangedEventArgs.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user