コード例 #1
0
 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);
 }