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>"); }
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>"); }