Class PathUtility
Utility methods for path computations.
Inheritance
System.Object
PathUtility
Namespace: DNVGL.One.Compute.StorageLibrary.Azure.FileTransfer
Assembly: DNVGL.One.Compute.StorageLibrary.Azure.dll
Syntax
public static class PathUtility : object
Methods
View SourceTryMakeRelativePath(String, String, out String)
Try to create a relative path from basePath
to path
.
Declaration
public static bool TryMakeRelativePath(string basePath, string path, out string relativePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | basePath | The base path. |
System.String | path | The path. |
System.String | relativePath | The relative path. |
Returns
Type | Description |
---|---|
System.Boolean | True if the relative path could be computed. |