Ejemplo n.º 1
0
 internal void HostReportEvent(BuildEventArgs e)
 {
     if (host != null)
     {
         host.CallMethodOnHost("ReportEvent", e);
     }
     else
     {
         // enable error reporting for in-process builds
         EventSource eventSource = hostEventSource;
         if (eventSource != null)
         {
             eventSource.RaiseEvent(e);
         }
     }
 }
Ejemplo n.º 2
0
 public void RaiseEvent(BuildEventArgs e)
 {
     eventSource.RaiseEvent(e);
 }