DirectOutputR1
DirectOutput framework R1 for virtual pinball cabinets.
Go to:
Overview 
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
ToyEventArgs.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 namespace DirectOutput.Cab.Toys
7 {
8 
12  // TODO: Check if this class is necessary (no references to the class yet).
13  public class ToyEventArgs : EventArgs
14  {
15 
19  public IToy Toy { get; set; }
20 
24  public string Name { get { return Toy.Name; } }
25 
30  public ToyEventArgs(IToy Toy)
31  {
32  this.Toy = Toy;
33  }
34 
38  public ToyEventArgs() { }
39  }
40 }