예제 #1
0
 void report_OnCollectionEnded(object sender, CollectorStatusEventArgs e)
 {
     statuses.Remove(e.name);
     base.Invoke((Action) delegate
     {
         UpdateStatus();
     });
 }
예제 #2
0
        protected virtual void OnCollectionEnded(CollectorStatusEventArgs e)
        {
            Logger.Debug("Executing " + className + "." + MethodBase.GetCurrentMethod().Name);
            EventHandler <CollectorStatusEventArgs> handler = CollectionEnded;

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #3
0
 void report_OnCollectionStarted(object sender, CollectorStatusEventArgs e)
 {
     lock (statuses)
     {
         statuses.Add(e.name, e.status);
         base.Invoke((Action) delegate
         {
             UpdateStatus();
         });
     }
 }
예제 #4
0
 protected virtual void OnCollectionStarted(CollectorStatusEventArgs e)
 {
     Logger.Debug("Executing " + className + "." + MethodBase.GetCurrentMethod().Name);
       EventHandler<CollectorStatusEventArgs> handler = CollectionStarted;
       if (handler != null)
     handler(this, e);
 }
예제 #5
0
 void report_OnCollectionStarted(object sender, CollectorStatusEventArgs e)
 {
     lock (statuses)
       {
     statuses.Add(e.name, e.status);
     base.Invoke((Action)delegate
     {
       UpdateStatus();
     });
       }
 }
예제 #6
0
 void report_OnCollectionEnded(object sender, CollectorStatusEventArgs e)
 {
     statuses.Remove(e.name);
       base.Invoke((Action)delegate
       {
     UpdateStatus();
       });
 }