C# Class Drey.Utilities.PathUtilities

Shared utilities for working with paths.
Show file Open project: dealproc/Drey

Public Methods

Method Description
MapPath ( string relativePath, bool includePathSeparator = true ) : string

Resolves the path. There may be an alternative method to do this, using the inherit .net framework. to be analyzed and discovered

NormalizePathSeparator ( this inPath ) : string

Normalizes the path separator in a filesystem path, for the given operating system.

Method Details

MapPath() public static method

Resolves the path. There may be an alternative method to do this, using the inherit .net framework. to be analyzed and discovered
public static MapPath ( string relativePath, bool includePathSeparator = true ) : string
relativePath string The relative path.
includePathSeparator bool if set to true [include path separator].
return string

NormalizePathSeparator() public static method

Normalizes the path separator in a filesystem path, for the given operating system.
public static NormalizePathSeparator ( this inPath ) : string
inPath this The in path.
return string