C# Class Setty.Settings.PathHelper

Mostrar archivo Open project: paralect/setty

Public Methods

Method 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 method

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.
return String

ProcessPossiblyRelativePath() public static method

public static ProcessPossiblyRelativePath ( string path, string contextPath ) : string
path string
contextPath string
return string