Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VirtualFileInfo"/> class.
 /// </summary>
 /// <param name="name">Name of the file.</param>
 /// <param name="attributes">DOS attributes of the file.</param>
 /// <param name="modifyDate">Date and time when file was last modified.</param>
 /// <param name="length">Size of the file in bytes.</param>
 public VirtualFileInfo(string name, VirtualFileAttributes attributes, DateTime modifyDate, long length)
 {
     this.Name       = name;
     this.Attributes = attributes;
     this.ModifyDate = modifyDate;
     this.Length     = length;
 }
Exemplo n.º 2
0
 public ArchiveItem(string name, VirtualFileAttributes attributes, DateTime lastWriteTime, int dataIndex, long size)
 {
     this.Name          = name;
     this.DataIndex     = dataIndex;
     this.Attributes    = attributes;
     this.LastWriteTime = lastWriteTime;
     this.Size          = size;
 }
Exemplo n.º 3
0
 internal ArchiveItem(string name, VirtualFileAttributes attributes, DateTime lastWriteTime, long dataOffset, long size, long rawSize)
 {
     this.Name          = name;
     this.DataOffset    = dataOffset;
     this.Attributes    = attributes;
     this.LastWriteTime = lastWriteTime;
     this.Size          = size;
     this.RawSize       = rawSize;
 }