Microsoft.VisualStudio.Project.AssemblyReferenceNode.GetFullPathFromPath C# (CSharp) Method

GetFullPathFromPath() private method

private GetFullPathFromPath ( string path ) : string
path string
return string
        private string GetFullPathFromPath(string path)
        {
            if(Path.IsPathRooted(path))
            {
                return path;
            }
            else
            {
                Uri uri = new Uri(this.ProjectMgr.BaseURI.Uri, path);

                if(uri != null)
                {
                    return Microsoft.VisualStudio.Shell.Url.Unescape(uri.LocalPath, true);
                }
            }

            return String.Empty;
        }