Beispiel #1
0
 public Controller(IExamService examService, IPlayerInfoHolder playerInfoHolder,
                   IReasonHandler reasonHadler, IExclusionService exclusionService)
 {
     _playerInfoHolder = playerInfoHolder;
     _examService      = examService;
     _reasonHandler    = reasonHadler;
     _exclusionService = exclusionService;
 }
Beispiel #2
0
 public BaseExclusionCheck
 (
     IPlayContext context,
     IStore <BaseCheck> checks,
     IExclusionService exclusionStore
 )
 {
     _context        = context ?? throw new ArgumentNullException("Context must be not null");
     _exclusionStore = exclusionStore ?? throw new ArgumentNullException("Exclusion store must be not null");
     _generator      = new DefaultNumberGenerator();
     InitChecks(checks.GetAll());
 }
Beispiel #3
0
 public ExclusionController(IExclusionService exclusionService)
 {
     this.exclusionService = exclusionService;
 }