예제 #1
0
 public DirItem(DirectoryInfo dir) : this()
 {
     Preconditions.ArgumentException(dir != null);
     curDir       = dir;
     Name         = dir.Name;
     AbsolutePath = dir.FullName;
     Length       = curDir.GetLength();
     //getChildren().ForEach(item => _length += item.Length);
 }