Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Common/ValueChangedEventArgs.cs @ 13792

Last change on this file since 13792 was 12503, checked in by aballeit, 9 years ago

#2283 added GUI and charts; fixed MCTS

File size: 557 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace 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.