Пример #1
0
        public string LoadFromFile(string filePath)
        {
            var saved = BinarySerializationAssistor.Deserialize(filePath);

            AllFiles  = saved.Duplicates;
            _Criteria = saved.Settings;
            return(saved.SelectedPath);
            //SerializableDictionary<string, List<DuplicateFile>> tmp = new SerializableDictionary<string, List<DuplicateFile>>();
            //tmp.ReadXml(XmlReader.Create(new FileStream(filePath, FileMode.Open)));
            //Duplicates = tmp;
        }
Пример #2
0
 public DuplicateCollector(string pRootFolder, CriteriaSettings pCriteria)
     : this()
 {
     _RootFolder = pRootFolder;
     _Criteria   = pCriteria;
 }