コード例 #1
0
ファイル: Session.cs プロジェクト: top501/DVTK-1
 //
 // 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);
     }
 }
コード例 #2
0
        public void ReportActivity(
            Wrappers.WrappedValidationMessageLevel activityReportLevel,
            System.String message)
        {
            ActivityReportEventArgs e =
                new ActivityReportEventArgs(_Convert(activityReportLevel), message);

            this.m_parentSession._OnActivityReport(e);
        }