public static int GetTotalSourceFiles(this IEnumerable <IBuildTarget> buildTargets)
        {
            BuildSourceFilesCollection <IBuildTarget> sourceFiles = buildTargets.GetSourceFiles();

            return(sourceFiles.Sum(sf => sf.Value.Length));
        }
Пример #2
0
        public int GetTotalSourceFiles()
        {
            BuildSourceFilesCollection sourceFiles = this.GetSourceFiles();

            return(sourceFiles.Sum(sf => sf.Value.Length));
        }