Ejemplo n.º 1
0
 public SyncAction(
     BackupSource source,
     BackupDestination destination,
     SyncActionType actionType,
     File sourceFile,
     File destinationFile)
 {
     this.Source          = source;
     this.Destination     = destination;
     this.Action          = actionType;
     this.SourceFile      = sourceFile;
     this.DestinationFile = destinationFile;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Set the backup source for this sync configuration
 /// </summary>
 /// <param name="source">The source to retrieve data from</param>
 public void SetBackupSource(BackupSource source)
 {
     this.Source = source;
 }