C# Class PodcatcherBackgroundService.ScheduledAgent

Inheritance: ScheduledTaskAgent
Mostra file Open project: kypeli/Podcatcher

Public Methods

Method Description
ScheduledAgent ( ) : System ScheduledAgent constructor, initializes the UnhandledException handler

Protected Methods

Method Description
OnInvoke ( ScheduledTask task ) : void

Agent that runs a scheduled task

This method is called when a periodic or resource intensive task is invoked

Private Methods

Method Description
ScheduledAgent_UnhandledException ( object sender, System.Windows.ApplicationUnhandledExceptionEventArgs e ) : void
getDateTimeWithFormat ( string dateFormat, string pubDateString, int parseLength ) : System.DateTime
getNumOfNewEpisodes ( String subscriptionData, String podcastRss ) : int
getSubscriptionIdForTile ( ShellTile tile ) : String
parsePubDate ( string pubDateString ) : System.DateTime
refreshPinnedSubscription ( Queue tiles ) : void
updatePinnedSubscription ( string subscriptionData, int newEpisodes ) : void
web_DownloadStringCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void

Method Details

OnInvoke() protected method

Agent that runs a scheduled task
This method is called when a periodic or resource intensive task is invoked
protected OnInvoke ( ScheduledTask task ) : void
task ScheduledTask /// The invoked task ///
return void

ScheduledAgent() public method

ScheduledAgent constructor, initializes the UnhandledException handler
public ScheduledAgent ( ) : System
return System