コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the QuickIOAbstractBase class, which acts as a wrapper for a file path.
 /// </summary>
 /// <param name="pathInfo"><see cref="QuickIOPathInfo"/></param>
 /// <param name="findData"><see cref="Win32FindData"/></param>
 internal QuickIOFileSystemEntryBase(QuickIOPathInfo pathInfo, Win32FindData findData)
 {
     this.PathInfo = pathInfo;
     this.FindData = findData;
     if (findData != null)
     {
         this.Attributes = findData.dwFileAttributes;
         //Changed to allow paths which do not exist:
         _lastWriteTimeUtc  = FindData.GetLastWriteTimeUtc();
         _lastAccessTimeUtc = findData.GetLastAccessTimeUtc();
         _creationTimeUtc   = findData.GetCreationTimeUtc();
     }
 }