public ZipUpdate(string fileName, string entryName, CompressionMethod compressionMethod) { this.sizePatchOffset_ = -1L; this.crcPatchOffset_ = -1L; this._offsetBasedSize = -1L; this.command_ = ZipFile.UpdateCommand.Add; this.entry_ = new ZipEntry(entryName); this.entry_.CompressionMethod = compressionMethod; this.filename_ = fileName; }
public ZipUpdate(IStaticDataSource dataSource, string entryName, CompressionMethod compressionMethod) { this.sizePatchOffset_ = -1L; this.crcPatchOffset_ = -1L; this._offsetBasedSize = -1L; this.command_ = ZipFile.UpdateCommand.Add; this.entry_ = new ZipEntry(entryName); this.entry_.CompressionMethod = compressionMethod; this.dataSource_ = dataSource; }
public ZipUpdate(ZipFile.UpdateCommand command, ZipEntry entry) { this.sizePatchOffset_ = -1L; this.crcPatchOffset_ = -1L; this._offsetBasedSize = -1L; this.command_ = command; this.entry_ = (ZipEntry) entry.Clone(); }
public ZipUpdate(string fileName, ZipEntry entry) { this.sizePatchOffset_ = -1L; this.crcPatchOffset_ = -1L; this._offsetBasedSize = -1L; this.command_ = ZipFile.UpdateCommand.Add; this.entry_ = entry; this.filename_ = fileName; }
public ZipUpdate(IStaticDataSource dataSource, ZipEntry entry) { this.sizePatchOffset_ = -1L; this.crcPatchOffset_ = -1L; this._offsetBasedSize = -1L; this.command_ = ZipFile.UpdateCommand.Add; this.entry_ = entry; this.dataSource_ = dataSource; }