Exemplo n.º 1
0
 public ChallengeContext(Challenge challenge)
 {
     Challenge  = challenge ?? throw new ArgumentNullException(nameof(challenge));
     Evaluation = new ChallengeEvaluation();
 }
Exemplo n.º 2
0
 public ChallengeSubmission(string submittedCode, ChallengeEvaluation evaluation, IEnumerable <KernelEvent> events)
 {
     SubmittedCode  = submittedCode;
     Evaluation     = evaluation;
     EventsProduced = events;
 }