コード例 #1
0
        public File(string name, string path, DateTime? createTime, DateTime? modifyTime, DateTime? accessTime,
            Int64? dataSize, Int64? diskSize, FileAccess[] fileAccess, Linkage[] linkage, Inode inode,
            Checksum[] checksum, string ident, FileCategoryEnum category, FileSystemTypeEnum type,
            string fileType)
            : this(name, path, createTime, modifyTime, accessTime, dataSize, diskSize, fileAccess, linkage, inode,
			       checksum, category)
        {
            this.ident = string.IsNullOrEmpty(ident) ? "0" : ident;
            fstype = type;
            this.fileType = fileType;
        }
コード例 #2
0
 public File(string name, string path, DateTime? createTime, DateTime? modifyTime, DateTime? accessTime,
     Int64? dataSize, Int64? diskSize, FileAccess[] fileAccess, Linkage[] linkage, Inode inode,
     Checksum[] checksum, FileCategoryEnum category)
     : this(name, path, category)
 {
     this.createTime = createTime;
     this.modifyTime = modifyTime;
     this.accessTime = accessTime;
     this.dataSize = dataSize;
     this.diskSize = diskSize;
     this.fileAccess = fileAccess;
     this.linkage = linkage;
     this.inode = inode;
     this.checksum = checksum;
 }