Show / Hide Table of Contents

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 Source

TryMakeRelativePath(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.

  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.