Exemple #1
0
 /// <summary>
 /// Trigger end of progress event.
 /// </summary>
 /// <param name="method">Current method to which this applies.</param>
 public void SignalEndOfProgress(string method)
 {
     if (EventEndOfProgress != null)
     {
         EventParameters2 eventParameters = new EventParameters2(method, 0);
         EventEndOfProgress(this, eventParameters);
     }
 }
Exemple #2
0
 /// <summary>
 /// Trigger update progress event.
 /// </summary>
 /// <param name="method">Current method to which this applies.</param>
 public void SignalUpdateProgress(string method, long increment)
 {
     if (EventUpdateProgress != null)
     {
         EventParameters2 eventParameters = new EventParameters2(method, increment);
         EventUpdateProgress(this, eventParameters);
     }
 }