public ISourceLocator GetSourceLocator(string modulePath) { SourceLocator sourceLocator; bool found = Cache.TryGetValue(modulePath, out sourceLocator); if (!found) { Cache[modulePath] = sourceLocator = new SourceLocator(modulePath); } return sourceLocator; }
public ISourceLocator GetSourceLocator(string modulePath) { SourceLocator sourceLocator; bool found = Cache.TryGetValue(modulePath, out sourceLocator); if (!found) { Cache[modulePath] = sourceLocator = new SourceLocator(modulePath); } return(sourceLocator); }