C# Class ParkitectNexus.Data.Utilities.PathUtility

Afficher le fichier Open project: ParkitectNexus/ParkitectNexusClient

Méthodes publiques

Méthode Description
ArePathsEqual ( string path1, string path2 ) : bool
MakeRelativePath ( string fromPath, string toPath ) : string

Creates a relative path from one file or folder to another.

NormalizePath ( string path ) : string

Method Details

ArePathsEqual() public static méthode

public static ArePathsEqual ( string path1, string path2 ) : bool
path1 string
path2 string
Résultat bool

MakeRelativePath() public static méthode

Creates a relative path from one file or folder to another.
public static MakeRelativePath ( string fromPath, string toPath ) : string
fromPath string Contains the directory that defines the start of the relative path.
toPath string Contains the path that defines the endpoint of the relative path.
Résultat string

NormalizePath() public static méthode

public static NormalizePath ( string path ) : string
path string
Résultat string