/// <summary> /// Returns a source map for the given URL. If the source map is not already available, /// it is obtained from the API consumer using the provided ISourceMapProvider. /// Once a source map is generated, the value is cached in memory for future usages. /// </summary> /// <param name="sourceCodeUrl">The URL of the file for which a function map is required</param> public SourceMap GetSourceMapForUrl(string sourceCodeUrl) { return(_sourceMapCache.GetValue(sourceCodeUrl)); }
/// <summary> /// Returns a function map for the given URL. If the function map is not already available, /// it is obtained from the API consumer using the provided ISourceCodeProvider. /// Once a function map is generated, the value is cached in memory for future usages. /// </summary> /// <param name="sourceCodeUrl">The URL of the file for which a function map is required</param> public IReadOnlyList <FunctionMapEntry> GetFunctionMapForSourceCode(string sourceCodeUrl) { return(_functionMapCache.GetValue(sourceCodeUrl)); }