Example #1
0
        public SortResults(string sourceFilePath, string destFolder, string dbConnPath)
        {
            string sortedFileName = SortFileHelpers.GetSortedFileName(sourceFilePath);

            DuplicatesFilePath = Path.Combine(destFolder, SortFileHelpers.GetDupesFileName(sourceFilePath));
            SortedFilePath     = Path.Combine(destFolder, sortedFileName);
            DbConnPath         = dbConnPath;
        }
Example #2
0
 public SortVars(string sourceFilePath, string destFolder)
 {
     DbConnStr      = SortFileHelpers.GetRandomDbConnStr();
     DbJrnFileName  = SortFileHelpers.GetDbJournalName(DbConnStr);
     SortedFileName = SortFileHelpers.GetSortedFileName(sourceFilePath);
     SourceDirName  = SortFileHelpers.GetSourceDirName(sourceFilePath);
     DestFolder     = SortFileHelpers.GetDestinationFolder(SourceDirName, destFolder);
     DbConnPath     = Path.Combine(DestFolder, DbConnStr);
 }