public BaseController(IMediatRBus mediatRBus, IAuthenticationService authenticationService, AppOptions settings) { _mediatRBus = mediatRBus.CheckIfNotEmpty(); _authenticationService = authenticationService.CheckIfNotEmpty(); _settings = settings.CheckIfNotEmpty(); }
public SendActivationMessageCommandHandler(IHandler handler, IOneTimeSecuredOperationService oneTimeSecuredOperationService, IMediatRBus mediatRBus, AppOptions appOptions) { _handler = handler.CheckIfNotEmpty(); _oneTimeSecuredOperationService = oneTimeSecuredOperationService.CheckIfNotEmpty(); _mediatRBus = mediatRBus.CheckIfNotEmpty(); _appOptions = appOptions.CheckIfNotEmpty(); }