Пример #1
0
		public MenuViewModel (HomeViewModel viewModel) : base ()
		{
			_facebookHelper = IocContainer.GetContainer ().Resolve<IFacebookHelper> ();
			_twitterHelper = IocContainer.GetContainer ().Resolve<ITwitterHelper> ();
			_homeViewModel = viewModel;
			ConfigureForAdding ();
		}
Пример #2
0
        public OnboardingViewModel() : base()
        {
            _twitterHelper  = IocContainer.GetContainer().Resolve <ITwitterHelper> ();
            _facebookHelper = IocContainer.GetContainer().Resolve <IFacebookHelper> ();

            _logger.Track(Analytics.ONBOARDING_PAGE_VIEWED.ToString());
        }
Пример #3
0
 public MenuViewModel(HomeViewModel viewModel) : base()
 {
     _facebookHelper = IocContainer.GetContainer().Resolve <IFacebookHelper> ();
     _twitterHelper  = IocContainer.GetContainer().Resolve <ITwitterHelper> ();
     _homeViewModel  = viewModel;
     ConfigureForAdding();
 }
Пример #4
0
		public OnboardingViewModel () : base ()
		{
			_twitterHelper = IocContainer.GetContainer ().Resolve<ITwitterHelper> ();
			_facebookHelper = IocContainer.GetContainer ().Resolve<IFacebookHelper> ();

            _logger.Track(Analytics.ONBOARDING_PAGE_VIEWED.ToString());
		}
Пример #5
0
        public TwitterApi()
        {
            _twitterHelper = IocContainer.GetContainer().Resolve <ITwitterHelper> ();
            _settings      = new JsonSerializerSettings();

            _settings.DateFormatString = "ddd MMM dd HH:mm:ss zzzz yyyy";
            _settings.Culture          = CultureInfo.InvariantCulture;
        }
Пример #6
0
		public TwitterApi ()
		{
			_twitterHelper = IocContainer.GetContainer ().Resolve<ITwitterHelper> ();
			_settings = new JsonSerializerSettings ();

			_settings.DateFormatString = "ddd MMM dd HH:mm:ss zzzz yyyy";
			_settings.Culture = CultureInfo.InvariantCulture;
		}
Пример #7
0
        public HomeViewModel() : base()
        {
            _twitterService  = IocContainer.GetContainer().Resolve <ITwitterService> ();
            _twitterHelper   = IocContainer.GetContainer().Resolve <ITwitterHelper> ();
            _facebookService = IocContainer.GetContainer().Resolve <IFacebookService> ();
            _facebookHelper  = IocContainer.GetContainer().Resolve <IFacebookHelper> ();

            _logger.Track(Analytics.HOME_PAGE_VIEWED.ToString());
        }
Пример #8
0
        public MainViewModel() : base()
        {
            _facebookHelper   = IocContainer.GetContainer().Resolve <IFacebookHelper> ();
            _twitterHelper    = IocContainer.GetContainer().Resolve <ITwitterHelper> ();
            _lifecycleService = IocContainer.GetContainer().Resolve <ILifecycleService> ();

            _lifecycleService.ApplicationWillStart -= OnApplicationWillStart;
            _lifecycleService.ApplicationWillStart += OnApplicationWillStart;
        }
Пример #9
0
		public MainViewModel () : base ()
		{
			_facebookHelper = IocContainer.GetContainer ().Resolve<IFacebookHelper> ();
			_twitterHelper = IocContainer.GetContainer ().Resolve<ITwitterHelper> ();
			_lifecycleService = IocContainer.GetContainer ().Resolve<ILifecycleService> ();

			_lifecycleService.ApplicationWillStart -= OnApplicationWillStart;
			_lifecycleService.ApplicationWillStart += OnApplicationWillStart;
		}
Пример #10
0
		public HomeViewModel () : base ()
		{
			_twitterService = IocContainer.GetContainer ().Resolve<ITwitterService> ();
			_twitterHelper = IocContainer.GetContainer ().Resolve<ITwitterHelper> ();
			_facebookService = IocContainer.GetContainer ().Resolve<IFacebookService> ();
			_facebookHelper = IocContainer.GetContainer ().Resolve<IFacebookHelper> ();

            _logger.Track(Analytics.HOME_PAGE_VIEWED.ToString());
		}
Пример #11
0
		public TwitterMenuItemViewModel (Action<IListItem> selectedCallback) : base (selectedCallback)
		{
			_twitterHelper = IocContainer.GetContainer ().Resolve<ITwitterHelper> ();
		}
Пример #12
0
 public TwitterMenuItemViewModel(Action <IListItem> selectedCallback) : base(selectedCallback)
 {
     _twitterHelper = IocContainer.GetContainer().Resolve <ITwitterHelper> ();
 }