public NHibernateIndulgeMeService(ISession session, IIndulgenceGenerator indulgenceGenerator, IFileStorage fileStorage, ITweeter tweeter) { _session = session; _indulgenceGenerator = indulgenceGenerator; _fileStorage = fileStorage; _tweeter = tweeter; }
public MisakuraTweeter(ITweeter tweeter) { if (tweeter == null) { throw new ArgumentNullException("tweeter_"); } tweeter_ = tweeter; }
public TwitterTweetShareJob(string comment, string url, ITweeter tweeter) { if (comment.Length > MaxTweetLengthWithUrl) { throw new ArgumentException("Tweet description is too long. The max length is " + MaxTweetLengthWithUrl); } this.Comment = comment; this.Url = url; this.Tweeter = tweeter; }
public TwitterNewsSharerWindow(NewsArticle newsArticle, KeyValueStorage kvs, ITweeter tweeter) { InitializeComponent(); this.Tweeter = tweeter; CommentTextBox.MaxLength = TwitterTweetShareJob.MaxTweetLengthWithUrl; CommentTextBox.Text = newsArticle.Title; UrlTextBox.Text = newsArticle.Url; this.SizeToContent = SizeToContent.Width; }
public void Execute(object parameter) { ITweetable tweet = parameter as ITweetable; if (tweet == null) { return; } ITweeter author = tweet.Author; FilterManager.SetupMute(FilterType.User, author.ScreenName); Dependency.Resolve <IMessageService>().ShowLightNotification(Resources.Filtered); }
public LatestCredentialsTweeter(ITweeter innerTweeter, KeyValueStorage storage) { this.InnerTweeter = innerTweeter; this.Storage = storage; }
public IndulgeMeService(IFileStorage fileStorage, IIndulgenceGenerator indulgenceGenerator, ITweeter tweeter) { _fileStorage = fileStorage; _indulgenceGenerator = indulgenceGenerator; _tweeter = tweeter; }