public HubViewModel(IConfigurationRepository configurationRepository, ICommentaryPlayer commentaryPlayer, IDialogService dialogService) : base(commentaryPlayer, dialogService) { _configurationRepository = configurationRepository; InitaliseCommands(); LoadConfigData(); RegisterMessageBus(); }
public PlayerViewModel(IImageLoadTask imageLoadTask, IPlayersRepository playersRepository, IStatisticsRepository statisticsRepository, IConfigurationRepository configurationRepository, ICommentaryPlayer commentaryPlayer, IDialogService dialogService) : base(commentaryPlayer, dialogService) { _imageLoadTask = imageLoadTask; _playersRepository = playersRepository; _statisticsRepository = statisticsRepository; _configurationRepository = configurationRepository; Initialise(); SetUpMessageBus(); }
public MainPageViewModel(IPlayersRepository playersRepository, IConfigurationRepository configurationRepository, Func <string, IDartGame> dartGameFactory, Func <string, IStatisticsCalculationService> statisticsFactory, ICommentaryPlayer commentaryPlayer, IDialogService dialogService) : base(commentaryPlayer, dialogService) { _playersRepository = playersRepository; _configurationRepository = configurationRepository; _dartGameFactory = dartGameFactory; _statisticsFactory = statisticsFactory; InitialiseStandingDataAndSound(); InitialiseSubscriptions(); InitaliseCommands(); SetupMessageBus(); }
protected VoiceControlViewModel(ICommentaryPlayer commentaryPlayer, IDialogService dialogService) { CommentaryPlayer = commentaryPlayer; DialogService = dialogService; }