Exemplo n.º 1
0
 public void ReportActivity(
     Wrappers.WrappedValidationMessageLevel activityReportLevel,
     System.String message)
 {
     ActivityReportEventArgs e =
         new ActivityReportEventArgs(_Convert(activityReportLevel), message);
     this.m_parentSession._OnActivityReport(e);
 }
Exemplo n.º 2
0
 //
 // The protected OnProgress method raises the event by invoking
 // the delegates. The sender is always this, the current instance
 // of the class.
 //
 internal void _OnActivityReport(ActivityReportEventArgs e)
 {
     // Invoke the delegates
     if (ActivityReportEvent != null)
         ActivityReportEvent(this, e);
 }