예제 #1
0
 public DiskArchiveStorage(ZipFile file, FileUpdateMode updateMode) : base(updateMode)
 {
     if (file.Name == null)
     {
         throw new ZipException("Cant handle non file archives");
     }
     this.fileName_ = file.Name;
 }
예제 #2
0
 public DiskArchiveStorage(ZipFile file, FileUpdateMode updateMode) : base(updateMode)
 {
     if (file.Name == null)
     {
         throw new ZipException("Cant handle non file archives");
     }
     this.fileName_ = file.Name;
 }
예제 #3
0
		/// <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)
		{
		}
예제 #4
0
		/// <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;
		}
예제 #5
0
 public MemoryArchiveStorage(FileUpdateMode updateMode) : base(updateMode)
 {
 }
예제 #6
0
		/// <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;
		}
예제 #7
0
 protected BaseArchiveStorage(FileUpdateMode updateMode)
 {
     updateMode_ = updateMode;
 }
예제 #8
0
 public BaseArchiveStorage(FileUpdateMode updateMode)
 {
     this.updateMode_ = updateMode;
 }
예제 #9
0
 /// <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;
 }
예제 #10
0
 /// <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;
 }