Esempio n. 1
0
 /// <summary>
 /// An event WITH data.
 /// </summary>
 /// <param name="reg"></param>
 /// <param name="args"></param>
 public EventMessage(RegisteredMessage reg, object[] args)
 {
     Reg       = reg;
     base.Args = args;
 }
Esempio n. 2
0
 /// <summary>
 /// a simple event with no data to return back
 /// </summary>
 /// <param name="reg"></param>
 public EventMessage(RegisteredMessage reg)
 {
     base.type = MessageType.Event;
     Reg       = reg;
 }