예제 #1
0
        public GZipArchiver(ArchiverSettings settings)
        {
            _settings = settings;

            if (settings.Mode == ArchiverMode.Decompress)
            {
                _factory = new DecompressFactory(settings);
            }
            else
            {
                _factory = new CompressFactory(settings);
            }
        }
 public CompressFactory(ArchiverSettings settings)
 {
     _settings = settings;
 }