Method GetRelativeFilePath
GetRelativeFilePath(IScriptSourceBase, string)
Determines a difference between given path and scriptSource file path.
public static string GetRelativeFilePath(IScriptSourceBase scriptSource, string fileName)
Parameters
scriptSource
IScriptSourceBaseThe
IScriptSourceBase
contains the base path.fileName
stringName of the file to compare.
Returns
- string
A path that is relative to the given source path.