示例#1
0
        private static void DoWriteHeader(TextWriter stream, string category)
        {
            HtmlHelpers.WriteHeader(stream);

            stream.WriteLine("<head>");
            stream.WriteLine("    <link rel=\"stylesheet\" type=\"text/css\" href=\"Violations.css\">");
            stream.WriteLine("    <title>{0} Violations</title>", HtmlHelpers.Escape(category));
            stream.WriteLine("</head>");
        }
示例#2
0
        private static void DoWriteHeader(TextWriter stream, string assemblyFile)
        {
            HtmlHelpers.WriteHeader(stream);

            stream.WriteLine("<head>");
            stream.WriteLine("<title>{0} Violations</title>", assemblyFile);

            stream.WriteLine("<style type = \"text/css\">");
            HtmlHelpers.WriteCss(stream);
            stream.WriteLine("</style>");
            stream.WriteLine("</head>");
        }