コード例 #1
0
 public void Consume(SubmissionTested message)
 {
     Success = true;
     Console.WriteLine("SubmissionId: " + message.SubmissionId);
     Console.WriteLine(message.TestLog);
     receivedSubmissionResult.Set();
 }
コード例 #2
0
 public void Consume(SubmissionTested message)
 {
     Interlocked.Increment(ref testLogsReceived);
     if (testLogsReceived >= submissionSentCount)
     {
         allTestlogsReceived.Set();
     }
 }