/// <summary>Constructs the <see cref="FreeSpaceItem"/>.</summary>
 ///
 /// <param name="rootParent">The <see cref="RootItem"/> containing this space.</param>
 internal FreeSpaceItem(RootItem rootParent)
     : base(StringConstants.FreeSpaceName, FileItemType.FreeSpace, FileItemFlags.None)
 {
     this.rootParent  = rootParent;
     LastWriteTimeUtc = DateTime.MinValue;
     UpdateSize();
 }
Example #2
0
 /// <summary>Constructs the <see cref="UnknownItem"/>.</summary>
 ///
 /// <param name="rootParent">The <see cref="RootItem"/> containing this space.</param>
 internal UnknownItem(RootItem rootParent)
     : base(StringConstants.UnknownName, FileItemType.Unknown, FileItemFlags.None)
 {
     this.rootParent  = rootParent;
     LastWriteTimeUtc = DateTime.MinValue;
     UpdateSize(0);
 }