Пример #1
0
 public ProcessServiceProvider(IGzipService gzipService, IChunksKeeper chunksKeeper)
 {
     _compressingServices = new Dictionary <ProcessType, Func <IProcessService> >
     {
         { ProcessType.Decompress, () => new DecompressService(gzipService, chunksKeeper) },
         { ProcessType.Compress, () => new CompressService(gzipService, chunksKeeper) }
     };
 }
 protected BaseProcessService(IGzipService gzipService, IChunksKeeper chunksKeeper)
 {
     _gzipService  = gzipService;
     _chunksKeeper = chunksKeeper;
 }
 public DecompressService(IGzipService gzipService, IChunksKeeper chunksKeeper)
     : base(gzipService, chunksKeeper)
 {
 }