public GitTrendsStatisticsService(IPreferences preferences, IAnalyticsService analyticsService, ImageCachingService imageCachingService, AzureFunctionsApiService azureFunctionsApiService) { _preferences = preferences; _analyticsService = analyticsService; _imageCachingService = imageCachingService; _azureFunctionsApiService = azureFunctionsApiService; }
public GitTrendsStatisticsService(IPreferences preferences, IAnalyticsService analyticsService, GitHubApiV3Service gitHubApiV3Service, ImageCachingService imageCachingService) { _preferences = preferences; _analyticsService = analyticsService; _gitHubApiV3Service = gitHubApiV3Service; _imageCachingService = imageCachingService; }
public LibrariesService(IPreferences preferences, IAnalyticsService analyticsService, GitHubApiV3Service gitHubApiV3Service, ImageCachingService imageCachingService, AzureFunctionsApiService azureFunctionsApiService) { _preferences = preferences; _analyticsService = analyticsService; _gitHubApiV3Service = gitHubApiV3Service; _imageCachingService = imageCachingService; _azureFunctionsApiService = azureFunctionsApiService; }
public RepositoryViewModel(IMainThread mainThread, ImageCachingService imageService, IAnalyticsService analyticsService, GitHubUserService gitHubUserService, MobileSortingService sortingService, RepositoryDatabase repositoryDatabase, GitHubApiV3Service gitHubApiV3Service, GitHubGraphQLApiService gitHubGraphQLApiService, GitHubApiExceptionService gitHubApiExceptionService, GitHubAuthenticationService gitHubAuthenticationService, GitHubApiRepositoriesService gitHubApiRepositoriesService) : base(analyticsService, mainThread) { LanguageService.PreferredLanguageChanged += HandlePreferredLanguageChanged; SetTitleText(); _imageService = imageService; _gitHubUserService = gitHubUserService; _mobileSortingService = sortingService; _repositoryDatabase = repositoryDatabase; _gitHubApiV3Service = gitHubApiV3Service; _gitHubGraphQLApiService = gitHubGraphQLApiService; _gitHubApiExceptionService = gitHubApiExceptionService; _gitHubAuthenticationService = gitHubAuthenticationService; _gitHubApiRepositoriesService = gitHubApiRepositoriesService; RefreshState = RefreshState.Uninitialized; PullToRefreshCommand = new AsyncCommand(() => ExecutePullToRefreshCommand(gitHubUserService.Alias)); FilterRepositoriesCommand = new Command <string>(SetSearchBarText); SortRepositoriesCommand = new Command <SortingOption>(ExecuteSortRepositoriesCommand); NotificationService.SortingOptionRequested += HandleSortingOptionRequested; GitHubAuthenticationService.DemoUserActivated += HandleDemoUserActivated; GitHubAuthenticationService.LoggedOut += HandleGitHubAuthenticationServiceLoggedOut; GitHubAuthenticationService.AuthorizeSessionCompleted += HandleAuthorizeSessionCompleted; }