private void update(Object message) { factory = RssReaderFactory.getInstance(); this.channels.Add(factory.createChannel(link, FeedType.RSS)); parseChannels(); }
private void Button_Click_1(object sender, RoutedEventArgs e) { this.factory = RssReaderFactory.getInstance(); channels.Add(factory.createChannel(link_box.Text, FeedType.RSS)); parseChannels(); }