public void Initialize(IViewModelContextService viewModelContextService, IOOMService oomService, ISettingsService settingsService, 
            ISuspensionService suspensionService, IDynamicViewLocator dynamicViewLocator, IOfflineService offlineService, IImagesService imagesService,
            ISystemServices systemServices, ISuspendableWorkQueue suspendableWorkQueue)
        {
            _viewModelContextService = viewModelContextService;
            _oomService = oomService;
            _settingsService = settingsService;
            _suspensionService = suspensionService;
            _dynamicViewLocator = dynamicViewLocator;
            _offlineService = offlineService;
            _imagesService = imagesService;
            _systemServices = systemServices;
            _suspendableWorkQueue = suspendableWorkQueue;

            _oomService.OutOfMemory += _oomService_OutOfMemory;
        }
        public void Initialize(ISmartOfflineService smartOfflineService, ISuspensionService suspensionService, IRedditService redditService,
            ISettingsService settingsService, ISystemServices systemServices, IOfflineService offlineService, INotificationService notificationService,
            IUserService userService, ISuspendableWorkQueue suspendableWorkQueue)
        {
            _smartOfflineService = smartOfflineService;
            _suspensionService = suspensionService;
            _redditService = redditService;
            _settingsService = settingsService;
            _systemServices = systemServices;
            _offlineService = offlineService;
            _notificationService = notificationService;
            _userService = userService;
            _suspendableWorkQueue = suspendableWorkQueue;

            _smartOfflineService.OffliningOpportunity += _smartOfflineService_OffliningOpportunity;
            Messenger.Default.Register<UserLoggedInMessage>(this, UserLoggedIn);
        }
 public RedditViewPivotControl()
 {
     _viewModelContextService = ServiceLocator.Current.GetInstance<IViewModelContextService>();
     _suspendableWorkQueue = ServiceLocator.Current.GetInstance<ISuspendableWorkQueue>();
 }