public async static Task <CssSourceMap> Create(string targetFileContents, string mapFileContents, string directory, IContentType contentType) { CssSourceMap map = new CssSourceMap(); await Task.Run(() => map.Initialize(targetFileContents, mapFileContents, directory, contentType)); return(map); }
public async static Task<CssSourceMap> Create(string targetFileContents, string mapFileContents, string directory, IContentType contentType) { CssSourceMap map = new CssSourceMap(); await Task.Run(() => map.Initialize(targetFileContents, mapFileContents, directory, contentType)); return map; }
public async static Task<CssSourceMap> Create(string targetFileContents, string mapFileContents, string directory, IContentType contentType) { CssSourceMap map = new CssSourceMap(); map.MapNodes = Enumerable.Empty<CssSourceMapNode>(); if (WESettings.Instance.ForContentType<ICssSourceMapSettings>(contentType).ProcessSourceMapsForEditorEnhancements) await Task.Run(() => map.Initialize(targetFileContents, mapFileContents, directory, contentType)); return map; }
public async static Task <CssSourceMap> Create(string targetFileContents, string mapFileContents, string directory, IContentType contentType) { CssSourceMap map = new CssSourceMap(); map.MapNodes = Enumerable.Empty <CssSourceMapNode>(); if (WESettings.Instance.ForContentType <ICssSourceMapSettings>(contentType).ProcessSourceMapsForEditorEnhancements) { await Task.Run(() => map.Initialize(targetFileContents, mapFileContents, directory, contentType)); } return(map); }