protected void ReportItem(string text, StatusReport.Type type = StatusReport.Type.TYPICAL)
 {
     if (statusReport != null)
     {
         statusReport.AddItem(text, type, this);
     }
 }
Пример #2
0
 protected void ReportItem(string text, StatusReport.Type type = StatusReport.Type.TYPICAL)
 {
     if (statusReport == null)
     {
         throw new Exception("No valid status report set, with SetStatusReport(statusReport), before ReportItem(text, type): " + this.ToString());
     }
     statusReport.AddItem(text, type, this);
 }