Ejemplo n.º 1
0
 private DirectoryData(DirectoryInfo directoryInfo, DirectoryData parentDirectoryData)
 {
     _directoryInfo = directoryInfo;
     Path           = System.IO.Path.Combine(parentDirectoryData.Path, _directoryInfo.Name);
     LastWriteTime  = _directoryInfo.LastWriteTime;
     CreationTime   = _directoryInfo.CreationTime;
 }
Ejemplo n.º 2
0
 public FileData(FileInfo fileInfo, DirectoryData directoryData)
 {
     FileInfo = fileInfo;
     Path     = System.IO.Path.Combine(directoryData.Path, FileInfo.Name);
 }