/// <summary> /// create SyncInfo /// </summary> /// <param name="link">link data (will be copied not referenced)</param> public SyncInfo(SyncLink link) { Link = link; Time = new TimeMeasurement(this); Files = new FilesInfo(this); Dirs = new DirsInfo(this); Paused = false; SyncDirExecutionInfos = new List<SyncDirExecutionInfo>(); SyncFileExecutionInfos = new List<SyncFileExecutionInfo>(); ConflictInfos = new List<ElementConflictInfo>(); LogStack = new Stack<LogMessage>(); MyDirInfo rootDir = new MyDirInfo("\\", ""); SyncDirInfo sdi = new SyncDirInfo(this, rootDir, false); DirTree = new DirTree(rootDir, null, null); Status = SyncStatus.DetectingChanges; }
/// <summary> /// create SyncInfo /// </summary> /// <param name="link">link data (will be copied not referenced)</param> public SyncInfo(SyncLink link) { Link = link; Time = new TimeMeasurement(this); Files = new FilesInfo(this); Dirs = new DirsInfo(this); Paused = false; SyncDirExecutionInfos = new List <SyncDirExecutionInfo>(); SyncFileExecutionInfos = new List <SyncFileExecutionInfo>(); ConflictInfos = new List <ElementConflictInfo>(); LogStack = new Stack <LogMessage>(); MyDirInfo rootDir = new MyDirInfo("\\", ""); SyncDirInfo sdi = new SyncDirInfo(this, rootDir, false); DirTree = new DirTree(rootDir, null, null); Status = SyncStatus.DetectingChanges; }
public DirConflictInfo(SyncDirInfo syncDirInfo, ConflictType type, int conflictPath, string context, string message, Exception exception) : base(syncDirInfo, type, conflictPath, context, message, exception) { }
public SyncDirExecutionInfo(SyncDirInfo syncDirInfo, SyncDirection dir, bool remove) : base(syncDirInfo, dir, remove) { }