示例#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);
         }
     }
 }
示例#2
0
 public void RaiseEvent(BuildEventArgs e)
 {
     eventSource.RaiseEvent(e);
 }