public NewsfeedUpdateJob( INewsfeedService newsfeedService, IHubContext <NewsfeedHub, INewsfeedClient> newsfeedHub) { _newsfeedService = newsfeedService; _newsfeedHub = newsfeedHub; }
public void Configure(NetworkServicesConfig config) { if (clubPenguinClient != null) { clubPenguinClient.Destroy(); } clubPenguinClient = new ClubPenguinClient(monoBehaviour, config.CPAPIServicehost, config.CPAPIClientToken, config.ClientApiVersion, config.CPGameServerZone, !offlineMode && config.CPGameServerEncrypted, config.CPGameServerDebug, config.CPLagMonitoring, config.CPGameServerLatencyWindowSize, config.CPWebServiceLatencyWindowSize, config.CPMonitoringServicehost, config.CPWebsiteAPIServicehost, offlineMode); currentConfig = config; worldService = new WorldService(); worldService.Initialize(clubPenguinClient); playerStateService = new PlayerStateService(); playerStateService.Initialize(clubPenguinClient); chatService = new ChatService(); chatService.Initialize(clubPenguinClient); playerActionService = new PlayerActionService(); playerActionService.Initialize(clubPenguinClient); iglooService = new IglooService(); iglooService.Initialize(clubPenguinClient); inventoryService = new InventoryService(); inventoryService.Initialize(clubPenguinClient); breadcrumbService = new BreadcrumbService(); breadcrumbService.Initialize(clubPenguinClient); savedOutfitService = new SavedOutfitService(); savedOutfitService.Initialize(clubPenguinClient); prototypeService = new PrototypeService(); prototypeService.Initialize(clubPenguinClient); questService = new QuestService(); questService.Initialize(clubPenguinClient); consumableService = new ConsumableService(); consumableService.Initialize(clubPenguinClient); friendsService = new FriendsService(); friendsService.Initialize(clubPenguinClient); rewardService = new RewardService(); rewardService.Initialize(clubPenguinClient); taskService = new TaskNetworkService(); taskService.Initialize(clubPenguinClient); minigameService = new MinigameService(); minigameService.Initialize(clubPenguinClient); iapService = new IAPService(); iapService.Initialize(clubPenguinClient); tutorialService = new TutorialService(); tutorialService.Initialize(clubPenguinClient); moderationService = new ModerationService(); moderationService.Initialize(clubPenguinClient); disneyStoreService = new DisneyStoreService(); disneyStoreService.Initialize(clubPenguinClient); newsfeedService = new NewsfeedService(); newsfeedService.Initialize(clubPenguinClient); catalogService = new CatalogService(); catalogService.Initialize(clubPenguinClient); partyGameService = new PartyGameService(); partyGameService.Initialize(clubPenguinClient); scheduledEventService = new ScheduledEventService(); scheduledEventService.Initialize(clubPenguinClient); diagnosticsService = new DiagnosticsService(); diagnosticsService.Initialize(clubPenguinClient); captchaService = new CaptchaService(); captchaService.Initialize(clubPenguinClient); }
//public DelegateCommand PlayCommand { get; private set; } public PlayerViewModel(INewsfeedService newsfeedService, ISettingsService settingsService) { _newsfeedManager = newsfeedService; _settingsService = settingsService; Schedule = new ObservableCollection <ScheduleModel>(); PageTitle = _settingsService[Setting.RadioName].ToString(); MainThread.BeginInvokeOnMainThread(async() => await GetSheduleFeedAsync()); }
public NewsfeedListCoreViewModel( INewsfeedService newsfeedService, ISettingsService settingsService, IMvxNavigationService navigationService) { _newsfeedService = newsfeedService; _settingsService = settingsService; _navigationService = navigationService; ItemTapped = new MvxAsyncCommand <Newsfeed>(async(Newsfeed) => { await NavigateToAsync(Newsfeed); }); RefreshItems = new MvxCommand(RefreshNewsfeeds); LoadMore = new MvxCommand(LoadMoreNewsfeeds); }
public NewPostsService(INotificationService notificationService, INewsfeedService newsfeedService, ISettingsService settingsService) { _notificationService = notificationService; _newsfeedService = newsfeedService; _settingsService = settingsService; }
public NewsfeedListViewModel(INewsfeedService newsfeedService, ISettingsService settingsService, IMvxNavigationService navigationService) : base(newsfeedService, settingsService, navigationService) { }
public NewsfeedsController(INewsfeedService newsfeedService) { _newsfeedService = newsfeedService; }
public NewsfeedCategoryListViewModel(INewsfeedService newsfeedService, ISettingsService settingsService, IMvxNavigationService navigationService, ITabsInitService tabsInitService) : base(newsfeedService, settingsService, navigationService) { tabsInitService.TabsLoaded += (s, e) => InitTabs(); }
public UsersNewPostsFetchedHandler(INewsfeedService newsfeedService) { _newsfeedService = newsfeedService; }