public static string MakeRelativeTo( this ZlpFileInfo pathToMakeRelative, string pathToWhichToMakeRelativeTo) { return(ZlpPathHelper.GetRelativePath(pathToWhichToMakeRelativeTo, pathToMakeRelative.FullName)); }
public static string MakeRelativeTo( this ZlpDirectoryInfo pathToMakeRelative, ZlpDirectoryInfo pathToWhichToMakeRelativeTo) { return(ZlpPathHelper.GetRelativePath(pathToWhichToMakeRelativeTo.FullName, pathToMakeRelative.FullName)); }