Exemplo n.º 1
0
 /// <summary>
 /// Raises the <see cref="ProceededFile"/> event.
 /// </summary>
 /// <param name="e">The <see cref="FlagSync.Core.FileProceededEventArgs"/> instance containing the event data.</param>
 protected virtual void OnProceededFile(FileProceededEventArgs e)
 {
     if (!this.proceededFilePaths.Contains(e.FilePath))
     {
         this.ProceededFile.RaiseSafe(this, e);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Raises the <see cref="ProceededFile"/> event.
 /// </summary>
 /// <param name="e">The <see cref="FlagSync.Core.FileProceededEventArgs"/> instance containing the event data.</param>
 protected virtual void OnProceededFile(FileProceededEventArgs e)
 {
     if (!this.proceededFilePaths.Contains(e.FilePath))
     {
         this.ProceededFile.RaiseSafe(this, e);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Handles the ProceededFile event of the currentJob control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="FlagSync.Core.FileProceededEventArgs"/> instance containing the event data.</param>
 private void currentJob_ProceededFile(object sender, FileProceededEventArgs e)
 {
     this.ProceededFile.RaiseSafe(this, e);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Handles the ProceededFile event of the currentJob control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="FlagSync.Core.FileProceededEventArgs"/> instance containing the event data.</param>
 private void currentJob_ProceededFile(object sender, FileProceededEventArgs e)
 {
     this.ProceededFile.RaiseSafe(this, e);
 }