Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
GetFilesRecursivelySource ( this directory ) : IEnumerable |
||
SearchFilesIn ( this directory ) : |
public static Closest ( this directory, Predicate |
||
directory | this | |
predicate | Predicate |
|
Результат |
public static GetParentsChain ( this directory ) : IEnumerable |
||
directory | this | |
Результат | IEnumerable |
public static ReadAllText ( this file ) : string | ||
file | this | |
Результат | string |
public static SearchFilesRecursively ( this directory ) : |
||
directory | this | target directory |
Результат |
public static WriteStringToFile ( this file, string content ) : void | ||
file | this | destination file |
content | string | string content |
Результат | void |