public DiskArchiveStorage(ZipFile file, FileUpdateMode updateMode) : base(updateMode) { if (file.Name == null) { throw new ZipException("Cant handle non file archives"); } this.fileName_ = file.Name; }
/// <summary> /// Initializes a new instance of the <see cref="MemoryArchiveStorage"/> class. /// </summary> /// <param name="updateMode">The <see cref="FileUpdateMode"/> to use</param> /// <remarks>This constructor is for testing as memory streams dont really require safe mode.</remarks> public MemoryArchiveStorage(FileUpdateMode updateMode) : base(updateMode) { }
/// <summary> /// Initializes a new instance of the <see cref="BaseArchiveStorage"/> class. /// </summary> /// <param name="updateMode">The update mode.</param> protected BaseArchiveStorage(FileUpdateMode updateMode) { updateMode_ = updateMode; }
public MemoryArchiveStorage(FileUpdateMode updateMode) : base(updateMode) { }
/// <summary> /// Initializes a new instance of the <see cref="BaseArchiveStorage"/> class. /// </summary> /// <param name="updateMode">The update mode.</param> public BaseArchiveStorage(FileUpdateMode updateMode) { updateMode_ = updateMode; }
protected BaseArchiveStorage(FileUpdateMode updateMode) { updateMode_ = updateMode; }
public BaseArchiveStorage(FileUpdateMode updateMode) { this.updateMode_ = updateMode; }
/// <summary> /// Initializes a new instance of the <see cref="BaseArchiveStorage"/> class. /// </summary> /// <param name="updateMode">The update mode.</param> internal BaseArchiveStorage(FileUpdateMode updateMode) { updateMode_ = updateMode; }
/// <summary> /// Initializes a new instance of the <see cref="DiskArchiveStorage"/> class. /// </summary> /// <param name="file">The file.</param> /// <param name="updateMode">The update mode.</param> public DiskArchiveStorage(ZipFile file, FileUpdateMode updateMode) : base(updateMode) { fileName_ = file.Name; }