C# Class Setty.Settings.PathHelper

Afficher le fichier Open project: paralect/setty

Méthodes publiques

Méthode Description
MakeRelativePath ( String fromPath, String toPath ) : String

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

ProcessPossiblyRelativePath ( string path, string contextPath ) : string

Method Details

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

ProcessPossiblyRelativePath() public static méthode

public static ProcessPossiblyRelativePath ( string path, string contextPath ) : string
path string
contextPath string
Résultat string