WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
SetEventArgs.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace DirectOutput.General.Generic
4 {
9  public class SetEventArgs<Ty> : EventArgs
10  {
11 
15  public int Index { get; set; }
16 
20  public Ty OldItem { get; set; }
21 
25  public Ty NewItem { get; set; }
29  public SetEventArgs() { }
36  public SetEventArgs(int Index, Ty OldItem, Ty NewItem)
37  {
38  this.Index = Index;
39  this.OldItem = OldItem;
40  this.NewItem = NewItem;
41  }
42  }
43 
44 }
Event args for Set events.
Definition: SetEventArgs.cs:9
SetEventArgs(int Index, Ty OldItem, Ty NewItem)
Initializes a new instance of the SetEventArgs class.
Definition: SetEventArgs.cs:36
SetEventArgs()
Initializes a new instance of the SetEventArgs class.
Definition: SetEventArgs.cs:29