private static void DoWriteCss(string path) { using (TextWriter stream = new StreamWriter(path)) { HtmlHelpers.WriteCss(stream); } }
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>"); }