public FeedExtension(FeedGetter feedGetter, FeedSetter feedSetter) : base(feedGetter, feedSetter, "Filter") { InitializeComponent(); inlineControlsMaxHeight = refreshButton.Height; lastInlineControlRight = preferencesButton.Right; inlineControlMargin = preferencesButton.Left - refreshButton.Right; }
protected ExtensionTab(FeedGetter feedGetter, FeedSetter feedSetter, String caption) : base(feedGetter, feedSetter) { if (caption == null) throw new ArgumentNullException(nameof(caption)); this.Caption = caption; }
protected ExtensionTab(FeedGetter feedGetter, FeedSetter feedSetter, String caption) : base(feedGetter, feedSetter) { if (caption == null) { throw new ArgumentNullException(nameof(caption)); } this.Caption = caption; }
protected ExtensionControl(FeedGetter feedGetter, FeedSetter feedSetter) { if (feedGetter == null) throw new ArgumentNullException(nameof(feedGetter)); if (feedSetter == null) throw new ArgumentNullException(nameof(feedSetter)); this.feedGetter = feedGetter; this.feedSetter = feedSetter; }
public FeedExtension(FeedGetter feedGetter, FeedSetter feedSetter) : base(feedGetter, feedSetter, "Feed") { InitializeComponent(); inlineControlsMaxHeight = refreshButton.Height; lastInlineControlRight = preferencesButton.Right; inlineControlMargin = preferencesButton.Left - refreshButton.Right; var feed = (new FeedServiceClient()).GetFeed(); feedSetter((FeedItem[])feed.Clone()); }
protected ExtensionControl(FeedGetter feedGetter, FeedSetter feedSetter) { if (feedGetter == null) { throw new ArgumentNullException(nameof(feedGetter)); } if (feedSetter == null) { throw new ArgumentNullException(nameof(feedSetter)); } this.feedGetter = feedGetter; this.feedSetter = feedSetter; }
public NewsletterExtension(FeedGetter feedGetter, FeedSetter feedSetter) : base(feedGetter, feedSetter) { InitializeComponent(); }