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; }