public FileCopyHelper( SyncRelationship relationship, AdapterBase fromAdapter, AdapterBase toAdapter, EntryUpdateInfo updateInfo, ThrottlingManager throttlingManager, X509Certificate2 encryptionCertificate, CancellationToken cancellationToken, Action <CopyProgressInfo> progressChanged) { this.fromAdapter = fromAdapter; this.toAdapter = toAdapter; this.updateInfo = updateInfo; this.throttlingManager = throttlingManager; this.encryptionCertificate = encryptionCertificate; this.cancellationToken = cancellationToken; this.progressChanged = progressChanged; this.EncryptionMode = relationship.EncryptionMode; this.UpdateSyncEntry = true; this.syncProgressUpdateStopwatch = new Stopwatch(); }
public AnalyzeJob(SyncRelationship relationship) : base(relationship) { this.AnalyzeResult = new AnalyzeRelationshipResult(); }
protected JobBase(SyncRelationship relationship) { Pre.ThrowIfArgumentNull(relationship, "relationship"); this.Relationship = relationship; }