public void SetAnalyzeMode(bool analyzeMode)
 {
     _analyzeMode = analyzeMode;
     if (analyzeMode)
     {
         _analyzeWriter = new EmptyTextWriter();
         InnerWriter    = _analyzeWriter;
     }
     else
     {
         InnerWriter = _realInnerWriter;
     }
     ClearFlags();
 }
예제 #2
0
 public void SetAnalyzeMode(bool analyzeMode) {
     _analyzeMode = analyzeMode;
     if (analyzeMode) {
         _analyzeWriter = new EmptyTextWriter();
         InnerWriter = _analyzeWriter;
     }
     else {
         InnerWriter = _realInnerWriter;
     }
     ClearFlags();
 }