string Lookup(ref string cache, UriComponents components, UriFormat format) { if (cache == null) { cache = parser.GetComponents(uri, components, format); } return(cache); }