Rev | Line | |
---|
[12503] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 |
|
---|
| 6 | namespace Microsoft.Research.DynamicDataDisplay.Common
|
---|
| 7 | {
|
---|
| 8 | public sealed class ValueChangedEventArgs<T> : EventArgs
|
---|
| 9 | {
|
---|
| 10 | public ValueChangedEventArgs(T prevValue, T currValue)
|
---|
| 11 | {
|
---|
| 12 | this.prevValue = prevValue;
|
---|
| 13 | this.currValue = currValue;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | private readonly T prevValue;
|
---|
| 17 | public T PreviousValue
|
---|
| 18 | {
|
---|
| 19 | get { return prevValue; }
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | private readonly T currValue;
|
---|
| 23 | public T CurrentValue
|
---|
| 24 | {
|
---|
| 25 | get { return currValue; }
|
---|
| 26 | }
|
---|
| 27 | }
|
---|
| 28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.