Class PathDiagnostics
Shows where how many segments of a faulty path are valid.
Inherited Members
Namespace: Acoustics.Shared
Assembly: Acoustics.Shared.dll
Syntax
public static class PathDiagnostics
Methods
| Improve this Doc View SourcePathExistsOrDiff(String, out PathDiagnostics.PathDiffReport, String)
Checks if a path exists. If it does not it generates a report detailing what aspects of the path do exist and suggests possible alternatives.
Declaration
public static bool PathExistsOrDiff(string path, out PathDiagnostics.PathDiffReport report, string root = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | path | The path to check. |
| PathDiagnostics.PathDiffReport | report | A report that details errors found in the path if the |
| String | root | An optional root to apply to a relative path.
Defaults to CurrentDirectory is |
Returns
| Type | Description |
|---|---|
| Boolean | True if the path exists. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | If the supplied |