Exemple #1
0
 public QuizCommand(IRepository repository, QuizGame quizGame)
     : base(repository, UserRole.Everyone)
 {
     HelpText  = "No Quiz HelpText yet.";
     _quizGame = quizGame;
     Cooldown  = TimeSpan.FromMinutes(2);
 }
 public JoinQuizOperation(QuizGame game)
 {
     _game = game ?? throw new ArgumentNullException(nameof(game));
 }
 public QuizCommand(IRepository repository, QuizGame quizGame)
     : base(repository)
 {
     _quizGame = quizGame;
 }