public AccountService(ConnectionsService connectionsService, 
     IUserRepository usersRepository,
     CommandBuilder commandBuilder)
 {
     _commandBuilder = commandBuilder;
     _usersRepository = usersRepository;
     connectionsService.CommandRecieved += _connectionsManager_OnCommandRecieved;
 }
Example #2
0
 public AccountService(ConnectionsService connectionsService,
                       IUserRepository usersRepository,
                       CommandBuilder commandBuilder)
 {
     _commandBuilder  = commandBuilder;
     _usersRepository = usersRepository;
     connectionsService.CommandRecieved += _connectionsManager_OnCommandRecieved;
 }
 public VoiceManager(ConnectionsService connectionsManager,
     ITranslationResource translationResource,
     IUserRepository usersRepository,
     IPushNotificationResource pushSender,
     CommandBuilder commandBuilder)
 {
     _commandBuilder = commandBuilder;
     _connectionsManager = connectionsManager;
     _translationResource = translationResource;
     _usersRepository = usersRepository;
     _pushSender = pushSender;
     _connectionsManager.CommandRecieved += _connectionsManager_OnCommandRecieved;
 }
Example #4
0
 public VoiceManager(ConnectionsService connectionsManager,
                     ITranslationResource translationResource,
                     IUserRepository usersRepository,
                     IPushNotificationResource pushSender,
                     CommandBuilder commandBuilder)
 {
     _commandBuilder      = commandBuilder;
     _connectionsManager  = connectionsManager;
     _translationResource = translationResource;
     _usersRepository     = usersRepository;
     _pushSender          = pushSender;
     _connectionsManager.CommandRecieved += _connectionsManager_OnCommandRecieved;
 }