示例#1
0
 /// <summary>
 /// Creates a new ZipFileInfo object representing a file within a zip in a specified path.
 /// </summary>
 /// <param name="zipInfo">An object representing the zip archive containing the file.</param>
 /// <param name="filePath">The path to the file within the zip archive. Usually, this is a simple file
 /// name, but if the zip archive contains a directory structure this may include the directory.</param>
 public ZipFileInfo(ZipInfo zipInfo, string filePath)
     : base(zipInfo, filePath)
 {
     if (zipInfo == null)
     {
         throw new ArgumentNullException("zipInfo");
     }
 }
示例#2
0
 /// <summary>
 /// Creates a new ZipFileInfo object representing a file within a zip in a specified path.
 /// </summary>
 /// <param name="zipInfo">An object representing the zip archive containing the file.</param>
 /// <param name="filePath">The path to the file within the zip archive. Usually, this is a simple file
 /// name, but if the zip archive contains a directory structure this may include the directory.</param>
 public ZipFileInfo(ZipInfo zipInfo, string filePath)
     : base(zipInfo, filePath)
 {
     if (zipInfo == null)
     {
         throw new ArgumentNullException("zipInfo");
     }
 }