Ejemplo n.º 1
0
 // registered for AnyEventRaised to forward unknown events
 void OnUnknownEventRaised(object sender, BuildEventArgs e)
 {
     if (EventSource.GetEventType(e) == EventTypes.Unknown)
     {
         OnEvent(sender, e);
     }
 }
Ejemplo n.º 2
0
 void CountEvent(object sender, BuildEventArgs e)
 {
     Program.CountEvent(EventSource.GetEventType(e));
 }