Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((RawPath.GetHashCode() * 397) ^ SourceFile.GetHashCode());
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(RawPath.GetHashCode());
 }
Beispiel #3
0
 public override bool Equals(object obj)
 {
     return(RawPath.Equals(obj));
 }
 public FilePath[] FindSiblingFiles(string pattern = "*")
 {
     return(FileSearchEngine.FindBelow(RawPath.ToFilePath(), pattern, SearchOption.TopDirectoryOnly));
 }
 public DirectoryPath[] FindChildDirectories(string pattern = "*")
 {
     return(DirectorySearchEngine.FindBelow(RawPath.ToDirectoryPath(), pattern, SearchOption.AllDirectories));
 }
 public DirectoryPath[] FindSiblingDirectories(string pattern = "*")
 {
     return(DirectorySearchEngine.FindBelow(RawPath.ToDirectoryPath(), pattern, SearchOption.TopDirectoryOnly));
 }
 public FilePath[] FindParentFiles(string pattern = "*")
 {
     return(FileSearchEngine.FindAbove(RawPath.ToFilePath(), pattern));
 }
 public DirectoryPath[] FindParentDirectories(string pattern = "*")
 {
     return(DirectorySearchEngine.FindAbove(RawPath.ToDirectoryPath(), pattern));
 }
 public FilePath[] FindChildFiles(string pattern = "*")
 {
     return(FileSearchEngine.FindBelow(RawPath.ToFilePath(), pattern, SearchOption.AllDirectories));
 }
 public override int GetHashCode()
 {
     return(RawPath != null?RawPath.GetHashCode() : 0);
 }