Beispiel #1
0
        public TweetTextBlock()
        {
            DefaultStyleKey = typeof(TweetTextBlock);

            _timelines = Execute.InDesignMode ? null : IoC.Get<ITimelineNavigator>();
            _parser = Execute.InDesignMode ? new TweetParser() : IoC.Get<TweetParser>();
        }
 public IsValidTweetLengthToBrushConverter()
 {
     _parser = Execute.InDesignMode ? new TweetParser() : IoC.Get<TweetParser>();
 }
 public CharactersRemainingConverter()
 {
     _parser = Execute.InDesignMode ? new TweetParser() : IoC.Get<TweetParser>();
 }
Beispiel #4
0
 public StatusViewModel(TwitterClient client, TweetParser tweetParser, IWindowManager windowManager)
 {
     _client = client;
     _tweetParser = tweetParser;
     _windowManager = windowManager;
 }