Ejemplo n.º 1
0
 /// <summary>
 /// Fires an event for this instance.
 /// </summary>
 /// <param name="handler">The event handler to fire.</param>
 /// <param name="args">The arguments to fire the event with.</param>
 private void Fire(EventHandler <RestoreDatabaseTargetEventArgs> handler, RestoreDatabaseTargetEventArgs args)
 {
     if (handler != null)
     {
         handler(this, args);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Raises a restore target's TransferStart event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void OnRestoreTransferStart(object sender, RestoreDatabaseTargetEventArgs e)
 {
     this.Fire(this.RestoreTransferStart, e);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Raises a restore target's TransferProgress event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void OnRestoreTransferProgress(object sender, RestoreDatabaseTargetEventArgs e)
 {
     this.Fire(this.RestoreTransferProgress, e);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Raises a restore target's TransferComplete event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void OnRestoreTransferComplete(object sender, RestoreDatabaseTargetEventArgs e)
 {
     this.Fire(this.RestoreTransferComplete, e);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Raises a restore target's DecompressStart event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void OnRestoreDecompressStart(object sender, RestoreDatabaseTargetEventArgs e)
 {
     this.Fire(this.RestoreDecompressStart, e);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Raises a restore target's TransferStart event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void OnRestoreTransferStart(object sender, RestoreDatabaseTargetEventArgs e)
 {
     this.Fire(this.RestoreTransferStart, e);
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Raises a restore target's TransferProgress event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void OnRestoreTransferProgress(object sender, RestoreDatabaseTargetEventArgs e)
 {
     this.Fire(this.RestoreTransferProgress, e);
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Raises a restore target's TransferComplete event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void OnRestoreTransferComplete(object sender, RestoreDatabaseTargetEventArgs e)
 {
     this.Fire(this.RestoreTransferComplete, e);
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Raises a restore target's DecompressStart event.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void OnRestoreDecompressStart(object sender, RestoreDatabaseTargetEventArgs e)
 {
     this.Fire(this.RestoreDecompressStart, e);
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Fires an event for this instance.
 /// </summary>
 /// <param name="handler">The event handler to fire.</param>
 /// <param name="args">The arguments to fire the event with.</param>
 private void Fire(EventHandler<RestoreDatabaseTargetEventArgs> handler, RestoreDatabaseTargetEventArgs args)
 {
     if (handler != null)
     {
         handler(this, args);
     }
 }