static void Main(string[] args) { string file1 = @"D:\Design and Documents\Text comparer\01-SiteWide.txt"; string file2 = @"D:\Design and Documents\Text comparer\01-SiteWide 2.txt"; TextFileComparer comparer = new TextFileComparer(); comparer.Process1(file1, file2); }
public FolderComparisonService(IOptions <FolderDiffOptions> settings, TextFileComparer comparer) { localFolderPath = settings.Value.LocalFolderPath; remoteFolderPath = settings.Value.RemoteFolderPath; this.comparer = comparer; }