Skip to content

Instantly share code, notes, and snippets.

@biac
Created Dec 6, 2011
Embed
What would you like to do?
FeedReader: 最初の実装 ~ 同期処理だったらこんな感じ
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