public static string[] GetLessPaths(string sourcePath, ThemeId themeId)
 {
     return(LessAggregation.EnumerateAllItems(sourcePath, "")
            .First(item => IsCssFileForTheme(item.CssFile, themeId))
            .Segments
            .SelectMany(s => s.LessFiles)
            .Select(i => Path.Combine(sourcePath, i))
            .ToArray());
 }
 public static string ReadPaths(string[] paths)
 {
     return(String.Join("\n", paths.Select(p => LessAggregation.InlineImports(p))));
 }