An abstract node of the filesystem tree.
Наследование: IFileSystemNode
		internal virtual FileRecoveryStatus GetChanceOfRecovery(FileSystemNode node) {
			return FileRecoveryStatus.Unknown;
		}
Пример #2
0
 public ExplorerHistoryRecord(string desc, DateTime lastAccessed, DateTime lastModified, Folder folder, string filename)
 {
     Description = desc;
     LastAccessedUTC = lastAccessed;
     LastModifiedUTC = lastModified;
     if (LastAccessedUTC.Kind != DateTimeKind.Utc) Debugger.Break();
     if (LastModifiedUTC.Kind != DateTimeKind.Utc) Debugger.Break();
     m_Folder = folder;
     m_Filename = filename;
 }
Пример #3
0
 public ExplorerHistoryRecord(string desc, DateTime lastAccessed, DateTime lastModified, FileSystem fileSystem)
 {
     Description = desc;
     LastAccessedUTC = lastAccessed;
     LastModifiedUTC = lastModified;
     if (LastAccessedUTC.Kind != DateTimeKind.Utc) Debugger.Break();
     if (LastModifiedUTC.Kind != DateTimeKind.Utc) Debugger.Break();
     // Parse the description to get m_Filename
     Regex r = new Regex("/[c-zC-Z]:(?<filename>.*)$", RegexOptions.Compiled);
     Match m = r.Match(Description);
     if (!m.Success) {
         m_Folder = null;
     } else {
         m_Folder = fileSystem.GetRoot();
         m_Filename = HttpUtility.UrlDecode(m.Groups["filename"].Value);
     }
 }
Пример #4
0
 internal virtual FileRecoveryStatus GetChanceOfRecovery(FileSystemNode node)
 {
     return(FileRecoveryStatus.Unknown);
 }