/// <summary> /// Create a save work (with a differential save algorithm) /// </summary> /// <param name="_name">Name of the work (must be different from existing ones)</param> /// <param name="_source">The Source path to save</param> /// <param name="_destination">The Target destination to save files in</param> public void CreateDifferencialWork(string _name, string _source, string _destination, List <Extension> _extension) { DifferencialSaveWork work = new DifferencialSaveWork(_name, _source, _destination, _extension, SaveWorkType.differencial); WorkList.Add(work); SetWorkIndex(); UpdateSaveFile(); EditLog.CreateWorkLogLine(work); }
/// <summary> /// Create a save work (with a complete save algorithm) /// </summary> /// <param name="_name">Name of the work (must be different from existing ones)</param> /// <param name="_source">The Source path to save</param> /// <param name="_destination">The Target destination to save files in</param> public void CreateCompleteWork(string _name, string _source, string _destination, List <Extension> _extension) { CompleteSaveWork work = new CompleteSaveWork(_name, _source, _destination, _extension, SaveWorkType.complete); WorkList.Add(work); SetWorkIndex(); UpdateSaveFile(); EditLog.CreateWorkLogLine(work); }