Пример #1
0
        private static async Task GenerateResultToFile()
        {
            IDirectory  iDirectory  = new FileManager(startDirectory);
            IFileFilter iFileFilter = new FilterManager(filterBy);

            ResultGenerator resultGenerator = new ResultGenerator(iDirectory, iFileFilter);
            IStreamWriter   sWriter         = await resultGenerator.Generate();

            sWriter.WriteToFile(resultFile);
        }