public static string GetUnresolvedPathAndResolve(string sourcePath, string relativePath, Func <string, string> pathResolver) { var unresolvedPath = PathUtilities.GetUnresolvedPath(sourcePath, relativePath); var resolvedPath = pathResolver(unresolvedPath); return(resolvedPath); }