public MainWindowViewModel( ILogger logger, IExtendedDialogService dialogService, IApiService apiService, IGithubService githubService, ICredentialService credentialService, IStreamlinkLauncher streamlinkLauncher, LibVLC libVLC) { _logger = logger; _dialogService = dialogService; _apiService = apiService; _githubService = githubService; _credentialService = credentialService; _streamlinkLauncher = streamlinkLauncher; _libVLC = libVLC; }
public MainWindowViewModel( ILogger logger, IExtendedDialogService dialogService, IApiService apiService, IGithubService githubService, ICredentialService credentialService, IStreamlinkLauncher streamlinkLauncher, ISettings settings, IVideoDialogLayout videoDialogLayout) : base(logger) { _dialogService = dialogService; _apiService = apiService; _githubService = githubService; _credentialService = credentialService; _streamlinkLauncher = streamlinkLauncher; Settings = settings; VideoDialogLayout = videoDialogLayout; }
public MainWindowViewModel( ILogger logger, IExtendedDialogService dialogService, IApiService apiService, IGithubService githubService, ICredentialService credentialService, IStreamlinkLauncher streamlinkLauncher, ISettings settings, IVideoDialogLayout videoDialogLayout) : base(logger) { _dialogService = dialogService; _apiService = apiService; _githubService = githubService; _credentialService = credentialService; _streamlinkLauncher = streamlinkLauncher; Settings = settings; VideoDialogLayout = videoDialogLayout; EpisodesView = CollectionViewSource.GetDefaultView(Episodes); EpisodesView.Filter = (episode) => string.IsNullOrEmpty(EpisodeFilterText) || episode.ToString().Contains(EpisodeFilterText, StringComparison.OrdinalIgnoreCase); }
private void InitServices() { _navigationService = IocContainer.GetContainer().Resolve <IExtendedNavigationService>(); _dialogService = IocContainer.GetContainer().Resolve <IExtendedDialogService> (); _hudService = IocContainer.GetContainer().Resolve <IHudService> (); _browserService = IocContainer.GetContainer().Resolve <IBrowserService> (); _dispatchService = IocContainer.GetContainer().Resolve <IDispatcherService> (); _logger = IocContainer.GetContainer().Resolve <ILogger>(); _phoneService = IocContainer.GetContainer().Resolve <IPhoneService> (); _mapService = IocContainer.GetContainer().Resolve <IMapService> (); _connectivityService = IocContainer.GetContainer().Resolve <IConnectivityService>(); _emailService = IocContainer.GetContainer().Resolve <IEmailService> (); }