public CallsManager(CommandBuilder commandBuilder, IAudioDeviceResource audioDevice, TransportManager transportManager) { _commandBuilder = commandBuilder; _audioDevice = audioDevice; _transportManager = transportManager; _transportManager.CommandRecieved += _transportManager_OnCommandRecieved; _audioDevice.DataPacketCaptured += _audioDevice_OnDataPacketCaptured; }
public AccountManager(IKeyValueStorage storage, CommandBuilder commandBuilder, IUserIdProvider userIdProvider, TransportManager transportManager) { _storage = storage; _commandBuilder = commandBuilder; _userIdProvider = userIdProvider; _transportManager = transportManager; Number = _storage.GetValue(NumberKey, string.Empty); UserId = _storage.GetValue(UserIdKey, string.Empty); }
public ApplicationManager( AccountManager accountManager, CommandBuilder commandBuilder, IDeviceInfoProvider deviceInfo, TransportManager transportManager) { _accountManager = accountManager; _commandBuilder = commandBuilder; _deviceInfo = deviceInfo; _transportManager = transportManager; _transportManager.CommandRecieved += _transportManager_OnCommandRecieved; }