Пример #1
0
 public RegistrationService(IPlayerActivationRepository activationRepository, IRegisterNotifier notifier, IPlayerRepository playerRepository)
 {
     this.activationRepository = activationRepository;
     this.notifier             = notifier;
     this.playerRepository     = playerRepository;
 }
Пример #2
0
 public RegisterNotifier(INotificationService notificationService, IPlayerActivationRepository activationRepository)
 {
     this.notificationService  = notificationService ?? throw new ArgumentNullException(nameof(notificationService));
     this.activationRepository = activationRepository ?? throw new ArgumentNullException(nameof(activationRepository));
 }