Ejemplo n.º 1
0
 public void OnPopWithBadNumberOfArguments(string soda, EventRaiser raiser)
 {
     raiser.Raise(Pop, /*this,*/ soda);  // wrong number of args to the event
 }
Ejemplo n.º 2
0
 public void OnPopWithNullEvent(string soda, EventRaiser raiser)
 {
     raiser.Raise(null, this, soda);  // no event...
 }
Ejemplo n.º 3
0
 public IEventExceptionsCollector OnPop(string soda, EventRaiser raiser)
 {
     return(raiser.Raise(Pop, this, soda));
 }