C# Class Nez.PipelineImporter.PathHelper

Exibir arquivo Open project: prime31/Nez

Public Methods

Method Description
getAbsolutePath ( string relativePath, string basePath ) : string
makeRelativePath ( string fromPath, string toPath ) : string

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

Method Details

getAbsolutePath() public static method

public static getAbsolutePath ( string relativePath, string basePath ) : string
relativePath string
basePath string
return string

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