コード例 #1
0
 private void TraceDiagnostic(TraceMessage msg, List <TraceMessage> errors)
 {
     Console.WriteLine(msg.ToString());
     if (msg.BuildError.Focus != Focus.Diagnostic)
     {
         errors.Add(msg);
     }
 }
コード例 #2
0
ファイル: TraceHelper.cs プロジェクト: zhangjianqi/OPC-UA-OOI
 internal static void TraceDiagnostic(TraceMessage msg, List <TraceMessage> errors, ref int diagnosticCounter)
 {
     Console.WriteLine(msg.ToString());
     diagnosticCounter++;
     if (msg.BuildError.Focus != Focus.Diagnostic)
     {
         errors.Add(msg);
     }
 }
コード例 #3
0
 private void TraceDiagnostic(TraceMessage msg, List <TraceMessage> errors, ref int diagnosticCounter)
 {
     Console.WriteLine(msg.ToString());
     if (msg.BuildError.Focus == Focus.Diagnostic)
     {
         diagnosticCounter++;
     }
     else
     {
         errors.Add(msg);
     }
 }
コード例 #4
0
ファイル: TraceHelper.cs プロジェクト: yuriik83/OPC-UA-OOI
 internal static void TraceDiagnostic(TraceMessage msg, List<TraceMessage> errors, ref int diagnosticCounter)
 {
     if (errors == null)
     throw new ArgumentNullException("errors");
       Console.WriteLine(msg.ToString());
       if (msg.BuildError.Focus == Focus.Diagnostic)
       {
     diagnosticCounter++;
       }
       else
     errors.Add(msg);
 }
コード例 #5
0
 internal static void  TraceDiagnostic(TraceMessage msg, List <TraceMessage> errors, ref int diagnosticCounter)
 {
     if (errors == null)
     {
         throw new ArgumentNullException("errors");
     }
     Console.WriteLine(msg.ToString());
     if (msg.BuildError.Focus == Focus.Diagnostic)
     {
         diagnosticCounter++;
     }
     else
     {
         errors.Add(msg);
     }
 }