Пример #1
0
 private static void writeDebug(string text)
 {
     if (_isDisabled)
     {
         return;
     }
     _debugWriter.WriteDebug(text);
 }
Пример #2
0
 public static void WriteDebug(string ex)
 {
     if (_runAsDebug)
     {
         Console.WriteLine(ex);
     }
     if (_writeToWriter)
     {
         _debugWriter.WriteDebug(ex);
     }
 }