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