Пример #1
0
        private void Compress()
        {
            var resultFile = new ResultFile(_outputStorage, _threadHelper, _maxCountEvent, true);
            var sourceFile = new SourceFile(_inputStorage, resultFile, new Compressor(CompressionMode.Compress, _maxCountEvent, _threadHelper));

            sourceFile.Compress();

            resultFile.Wait();
        }