Exemplo n.º 1
0
 private void WarnOnce(WriteWarnings code, string message)
 {
     if (warningTracker.Contains(code))
     {
         return;
     }
     warningTracker.Add(code);
     ConsoleMsgUtils.ShowWarning(string.Format("WARNING: {0}!", message));
 }
Exemplo n.º 2
0
 private void WarnOnce(WriteWarnings code, string message)
 {
     if (warningTracker.Contains(code))
     {
         return;
     }
     warningTracker.Add(code);
     System.Console.WriteLine("WARNING: {0}!");
 }