Created
December 6, 2011 08:17
-
-
Save biac/1437339 to your computer and use it in GitHub Desktop.
FeedReader: 最初の実装 ~ 同期処理だったらこんな感じ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private /* async Task< */FeedData/* > */ Read/* Async */(Uri feedUri) | |
{ | |
SyndicationClient client = new SyndicationClient() { BypassCacheOnRetrieve = true }; | |
SyndicationFeed feed = /* await */ client.RetrieveFeed/* Async */(feedUri); | |
return feed.ToFeedData(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment