C# 클래스 RssDictionarySample.TrivialRssReader

An extremely simple RSS reader. This keeps a URL => data mapping in a persistent dictionary and supports updates, adding a URL and printing a summary of the RSS entries.
파일 보기 프로젝트 열기: ayende/managed-esent

공개 메소드들

메소드 설명
Main ( string args ) : void

A trivial RSS reader with local caching.

비공개 메소드들

메소드 설명
Add ( string urls ) : void

Add the specified urls to the RSS dictionary.

ParseAndPrintRssData ( string rssdata ) : void

Parse and print some RSS data. This doesn't do a particularily good job of parsing/printing.

Print ( ) : void

Print all the RSS data in the dictionary.

Update ( ) : void

Get the latest RSS for all the URLs in the dictionary.

메소드 상세

Main() 공개 정적인 메소드

A trivial RSS reader with local caching.
public static Main ( string args ) : void
args string /// No arguments: print the RSS. '-update': update all the RSS feeds in the /// dictionary. Otherwise add all arguments to the dictionary as URLs. ///
리턴 void