GetResultsHtmlPrefix() public static method

public static GetResultsHtmlPrefix ( ) : string
return string
コード例 #1
0
        public void GenerateResultsHtml(IEnumerable <string> assemblyList)
        {
            var sb            = new StringBuilder();
            var sorter        = GetCustomRootSorter();
            var assemblyNames = assemblyList.ToList();

            assemblyNames.Sort(sorter);

            sb.AppendLine(Markup.GetResultsHtmlPrefix());

            //foreach (var assemblyName in assemblyNames)
            //{
            //    sb.AppendFormat(@"<a href=""/#{0},namespaces"" target=""_top""><div class=""resultItem""><div class=""resultLine"">{0}</div></div></a>", assemblyName);
            //    sb.AppendLine();
            //}

            sb.AppendLine(Markup.GetResultsHtmlSuffix());

            File.WriteAllText(Path.Combine(SolutionDestinationFolder, "results.html"), sb.ToString());
        }