public object Clone() { var result = (ZipEntry)this.MemberwiseClone(); // Ensure extra data is unique if it exists. if (extra != null) { result.extra = new byte[extra.Length]; Array.Copy(extra, 0, result.extra, 0, extra.Length); } return result; }
public ZipUpdate(UpdateCommand command, ZipEntry entry) { command_ = command; entry_ = ( ZipEntry )entry.Clone(); }