コード例 #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;
 }
コード例 #2
0
ファイル: ArchiveBuilder.cs プロジェクト: gregdivis/Aeon
 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;
 }
コード例 #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;
 }