예제 #1
0
 public MainHub(IUserConnectionStorage userConnectionStorage, PhoneService phoneService, IUnitOfWork unitOfWork, IEmailIgnoreNotifierManger emailIgnoreNotifierManger)
 {
     _userConnectionStorage     = userConnectionStorage.ValidateNotDefault(nameof(userConnectionStorage));
     _phoneService              = phoneService.ValidateNotDefault(nameof(phoneService));
     _unitOfWork                = unitOfWork.ValidateNotDefault(nameof(unitOfWork));
     _emailIgnoreNotifierManger = emailIgnoreNotifierManger.ValidateNotDefault(nameof(emailIgnoreNotifierManger));
 }
예제 #2
0
 public AccountController(
     IUserManager userManager,
     IEncryptionService encryptionService,
     IUserConnectionStorage userConnectionStorage,
     IEmailIgnoreNotifierManger emailIgnoreNotifier,
     IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     _emailIgnoreNotifier   = emailIgnoreNotifier;
     _userManager           = userManager.ValidateNotDefault(nameof(userManager));
     _encryptionService     = encryptionService.ValidateNotDefault(nameof(encryptionService));
     _userConnectionStorage = userConnectionStorage.ValidateNotDefault(nameof(userConnectionStorage));
 }
예제 #3
0
 public PhoneController(IUnitOfWork unitOfWork, IUserConnectionStorage userConnectionStorage)
     : base(unitOfWork)
 {
     _userConnectionStorage = userConnectionStorage.ValidateNotDefault(nameof(userConnectionStorage));
 }