コード例 #1
0
 public ExtendedNotificationService(IPreferences preferences,
                                    ISecureStorage secureStorage,
                                    IAnalyticsService analyticsService,
                                    MobileSortingService sortingService,
                                    DeepLinkingService deepLinkingService,
                                    INotificationManager notificationManager,
                                    AzureFunctionsApiService azureFunctionsApiService,
                                    IDeviceNotificationsService deviceNotificationsService) :
     base(preferences, secureStorage, analyticsService, sortingService, deepLinkingService, notificationManager, deviceNotificationsService, azureFunctionsApiService)
 {
 }
コード例 #2
0
ファイル: App.cs プロジェクト: ranjithnagiri/GitTrends
        public App(ThemeService themeService,
                   LanguageService languageService,
                   IAnalyticsService analyticsService,
                   SplashScreenPage splashScreenPage,
                   NotificationService notificationService,
                   IDeviceNotificationsService deviceNotificationsService)
        {
            InitializeEssentialServices(themeService, deviceNotificationsService, languageService);

            _languageService     = languageService;
            _analyticsService    = analyticsService;
            _notificationService = notificationService;

            MainPage = splashScreenPage;

            On <iOS>().SetHandleControlUpdatesOnMainThread(true);
        }
コード例 #3
0
        public App(ThemeService themeService,
                   LanguageService languageService,
                   IAnalyticsService analyticsService,
                   SplashScreenPage splashScreenPage,
                   NotificationService notificationService,
                   IDeviceNotificationsService deviceNotificationsService)
        {
            _languageService     = languageService;
            _analyticsService    = analyticsService;
            _notificationService = notificationService;

            analyticsService.Track("App Initialized", new Dictionary <string, string>
            {
                { nameof(LanguageService.PreferredLanguage), _languageService.PreferredLanguage ?? "default" },
                { nameof(CultureInfo.CurrentUICulture), CultureInfo.CurrentUICulture.TwoLetterISOLanguageName }
            });

            InitializeEssentialServices(themeService, deviceNotificationsService, languageService);

            MainPage = splashScreenPage;

            On <iOS>().SetHandleControlUpdatesOnMainThread(true);
        }
コード例 #4
0
 public MockNotificationManager(IDeviceNotificationsService deviceNotificationsService) =>
コード例 #5
0
 public ShinyStartup(IDeviceNotificationsService deviceNotificationsService) =>