コード例 #1
0
 private void OpenFile(string author, bool withHeader, bool withMsgType, AnalyzerType analyzerType = AnalyzerType.Unknown)
 {
     if (_writers.ContainsKey(author))
     {
         return;
     }
     try
     {
         HtmlWriter htmlWriter = new HtmlWriter(RenderInfo, author);
         if (withHeader)
         {
             htmlWriter.AddHeader();
         }
         if (withMsgType)
         {
             htmlWriter.AddMsgType(analyzerType);
         }
         _writers.Add(author, htmlWriter);
     }
     catch (Exception)
     {
         ;
     }
 }