Exemplo n.º 1
0
 private void AssertNoConflictWithCurrentDirectory([NotNull] DirectoryEntry directory, [NotNull] AbsolutePath path)
 {
     if (currentDirectoryManager.IsAtOrAboveCurrentDirectory(directory))
     {
         throw ErrorFactory.System.FileIsInUse(path.GetText());
     }
 }
Exemplo n.º 2
0
 private void AssertNoConflictWithCurrentDirectory([NotNull] DirectoryEntry directory)
 {
     if (currentDirectoryManager.IsAtOrAboveCurrentDirectory(directory))
     {
         throw ErrorFactory.System.FileIsInUse();
     }
 }