Method | Description | |
---|---|---|
Closest ( this directory, Predicate |
Finds closest directory matching the predicate. Checks the directory itself and it's parents. Returns null if none of parent directories match the predicate.
|
|
GetParentsChain ( this directory ) : IEnumerable |
Yields directory itself and all it's parents.
|
|
ReadAllText ( this file ) : string | ||
SearchFilesRecursively ( this directory ) : |
Retrieves all directory files recursively.
|
|
WriteStringToFile ( this file, string content ) : void |
Writes a string to a file.
|
Method | Description | |
---|---|---|
GetFilesRecursivelySource ( this directory ) : IEnumerable |
||
SearchFilesIn ( this directory ) : |
public static Closest ( this directory, Predicate |
||
directory | this | |
predicate | Predicate |
|
return |
public static GetParentsChain ( this directory ) : IEnumerable |
||
directory | this | |
return | IEnumerable |
public static ReadAllText ( this file ) : string | ||
file | this | |
return | string |
public static SearchFilesRecursively ( this directory ) : |
||
directory | this | target directory |
return |
public static WriteStringToFile ( this file, string content ) : void | ||
file | this | destination file |
content | string | string content |
return | void |