public SyncElementExecutionInfo(SyncElementInfo syncElementInfo, SyncDirection dir, bool remove) { SyncElementInfo = syncElementInfo; SyncElementInfo.SyncExecutionInfo = this; Direction = dir; Remove = remove; SyncElementInfo.SyncStatus = SyncElementStatus.ChangeFound; }
public SyncElementExecutionInfo(SyncElementInfo syncElementInfo, SyncDirection dir, bool remove) { SyncElementInfo = syncElementInfo; SyncElementInfo.SyncExecutionInfo = this; Direction = dir; Remove = remove; SyncElementInfo.SyncStatus = SyncElementStatus.ChangeFound; }
/// <summary> /// create a link providing synchronisation information /// </summary> /// <param name="title"></param> /// <param name="path1">absolute path to folder 1</param> /// <param name="path2">absolute path to folder 2</param> /// <param name="direction"></param> /// <param name="remove">enables removing files and folders in destination directory if the source file doesn't exist</param> /// <param name="drive1Label"> /// if not empty or null the drive of Path1 is recognized by its label instead of its letter <para /> /// the drive of path 1 will be changed to match the drive label /// </param> /// <param name="drive2Label"> /// if not empty or null the drive of Path2 is recognized by its label instead of its letter /// the drive of path 1 will be changed to match the drive label /// </param> public Link(string title, string path1, string path2, SyncDirection direction, bool remove, string drive1Label, string drive2Label) { Title = title; Path1 = path1; Path2 = path2; Direction = direction; Remove = remove; Drive1Label = drive1Label == "" ? null : drive1Label; Drive2Label = drive2Label == "" ? null : drive2Label; }
public SyncFileExecutionInfo(SyncFileInfo syncFileInfo, SyncDirection dir, bool remove) : base(syncFileInfo, dir, remove) { }
/// <summary> /// create TwoWayCompareResult /// </summary> /// <param name="direction">synchronisation direction</param> /// <param name="remove">if destination element should be removed</param> public TwoWayCompareResult(SyncDirection direction, bool remove) { Direction = direction; Remove = remove; }
/// <summary> /// create TwoWayCompareResult /// </summary> /// <param name="direction">synchronisation direction</param> /// <param name="remove">if destination element should be removed</param> public TwoWayCompareResult(SyncDirection direction, bool remove) { Direction = direction; Remove = remove; }
public SyncDirExecutionInfo(SyncDirInfo syncDirInfo, SyncDirection dir, bool remove) : base(syncDirInfo, dir, remove) { }