C# Class Podcatcher.PodcastSubscriptionsManager

ファイルを表示 Open project: kypeli/Podcatcher Class Usage Examples

Public Methods

Method Description
addSubscriptionFromOPMLFile ( string opmlFileUrl ) : void
addSubscriptionFromURL ( string podcastRss, bool importingFromExternalService = false ) : void
addSubscriptionFromURLWithCredentials ( string podcastRss, NetworkCredential nc ) : void
cleanListenedEpisodes ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastSubscriptionModel ) : void
deleteSubscription ( PodcastSubscriptionModel podcastSubscriptionModel ) : void
exportSubscriptions ( ) : void
getInstance ( ) : PodcastSubscriptionsManager
importFromGpodderWithCredentials ( NetworkCredential nc ) : void
newDownloadedEpisode ( PodcastEpisodeModel e ) : void
podcastPlaystateChanged ( PodcastSubscriptionModel s ) : void
podcastSubscriptionRemoved ( PodcastSubscriptionModel s ) : void
refreshSubscription ( PodcastSubscriptionModel subscription ) : void
refreshSubscriptions ( ) : void
removedPlayableEpisode ( PodcastEpisodeModel e ) : void
sanitizeFilename ( string podcastString ) : string
wc_DownloadOPMLCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void

Private Methods

Method Description
DoOPMLExport ( ) : void
PodcastSubscriptionFailedWithMessage ( string message ) : void
PodcastSubscriptionsManager ( ) : Coding4Fun.Toolkit.Controls
PodcastSubscriptionsManager ( ) : System
PodcastSubscriptionsManager_OnPodcastAddedFinished ( object source, SubscriptionManagerArgs e ) : void
addSubscriptionFromExterrnalService ( string podcastRss ) : void
createNonCachedRefreshUri ( string refreshUri ) : Uri
deleteSubscriptionFromDB ( object sender, DoWorkEventArgs e ) : void
deleteSubscriptionFromDBCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
exportToOneDrive ( String opmlExportFileName, IsolatedStorageFileStream sourceStream ) : void
exportToSkyDrive ( String opmlExportFileName, IsolatedStorageFileStream sourceStream ) : void
exportViaEmail ( IsolatedStorageFileStream isoStream ) : void
greetUser_GetCompleted ( object sender, LiveOperationCompletedEventArgs e ) : void
greetUser_LoginCompleted ( object sender, LoginCompletedEventArgs e ) : void
importSubscriptionsFromOneDrive ( ) : void
localLogoFileName ( PodcastSubscriptionModel podcastModel ) : string
loginUserToSkyDrive ( ) : void
needsAuthentication ( WebException e ) : bool
opmlLiveOperation_UploadCompleted ( object sender, LiveOperationCompletedEventArgs args ) : void
refreshNextSubscription ( ) : void
wc_DownloadPodcastRSSCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void
wc_GpodderImportCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void
wc_RefreshPodcastRSSCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void
workerUpdateEpisodes ( object sender, DoWorkEventArgs args ) : void
workerUpdateEpisodesCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

addSubscriptionFromOPMLFile() public method

public addSubscriptionFromOPMLFile ( string opmlFileUrl ) : void
opmlFileUrl string
return void

addSubscriptionFromURL() public method

public addSubscriptionFromURL ( string podcastRss, bool importingFromExternalService = false ) : void
podcastRss string
importingFromExternalService bool
return void

addSubscriptionFromURLWithCredentials() public method

public addSubscriptionFromURLWithCredentials ( string podcastRss, NetworkCredential nc ) : void
podcastRss string
nc System.Net.NetworkCredential
return void

cleanListenedEpisodes() public method

public cleanListenedEpisodes ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastSubscriptionModel ) : void
podcastSubscriptionModel Podcatcher.ViewModels.PodcastSubscriptionModel
return void

deleteSubscription() public method

public deleteSubscription ( PodcastSubscriptionModel podcastSubscriptionModel ) : void
podcastSubscriptionModel PodcastSubscriptionModel
return void

exportSubscriptions() public method

public exportSubscriptions ( ) : void
return void

getInstance() public static method

public static getInstance ( ) : PodcastSubscriptionsManager
return PodcastSubscriptionsManager

importFromGpodderWithCredentials() public method

public importFromGpodderWithCredentials ( NetworkCredential nc ) : void
nc NetworkCredential
return void

newDownloadedEpisode() public method

public newDownloadedEpisode ( PodcastEpisodeModel e ) : void
e PodcastEpisodeModel
return void

podcastPlaystateChanged() public method

public podcastPlaystateChanged ( PodcastSubscriptionModel s ) : void
s PodcastSubscriptionModel
return void

podcastSubscriptionRemoved() public method

public podcastSubscriptionRemoved ( PodcastSubscriptionModel s ) : void
s PodcastSubscriptionModel
return void

refreshSubscription() public method

public refreshSubscription ( PodcastSubscriptionModel subscription ) : void
subscription PodcastSubscriptionModel
return void

refreshSubscriptions() public method

public refreshSubscriptions ( ) : void
return void

removedPlayableEpisode() public method

public removedPlayableEpisode ( PodcastEpisodeModel e ) : void
e PodcastEpisodeModel
return void

sanitizeFilename() public static method

public static sanitizeFilename ( string podcastString ) : string
podcastString string
return string

wc_DownloadOPMLCompleted() public method

public wc_DownloadOPMLCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void
sender object
e DownloadStringCompletedEventArgs
return void