C# Class Podcatcher.PodcastSubscriptionsManager

Afficher le fichier Open project: kypeli/Podcatcher Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public addSubscriptionFromOPMLFile ( string opmlFileUrl ) : void
opmlFileUrl string
Résultat void

addSubscriptionFromURL() public méthode

public addSubscriptionFromURL ( string podcastRss, bool importingFromExternalService = false ) : void
podcastRss string
importingFromExternalService bool
Résultat void

addSubscriptionFromURLWithCredentials() public méthode

public addSubscriptionFromURLWithCredentials ( string podcastRss, NetworkCredential nc ) : void
podcastRss string
nc System.Net.NetworkCredential
Résultat void

cleanListenedEpisodes() public méthode

public cleanListenedEpisodes ( Podcatcher.ViewModels.PodcastSubscriptionModel podcastSubscriptionModel ) : void
podcastSubscriptionModel Podcatcher.ViewModels.PodcastSubscriptionModel
Résultat void

deleteSubscription() public méthode

public deleteSubscription ( PodcastSubscriptionModel podcastSubscriptionModel ) : void
podcastSubscriptionModel PodcastSubscriptionModel
Résultat void

exportSubscriptions() public méthode

public exportSubscriptions ( ) : void
Résultat void

getInstance() public static méthode

public static getInstance ( ) : PodcastSubscriptionsManager
Résultat PodcastSubscriptionsManager

importFromGpodderWithCredentials() public méthode

public importFromGpodderWithCredentials ( NetworkCredential nc ) : void
nc NetworkCredential
Résultat void

newDownloadedEpisode() public méthode

public newDownloadedEpisode ( PodcastEpisodeModel e ) : void
e PodcastEpisodeModel
Résultat void

podcastPlaystateChanged() public méthode

public podcastPlaystateChanged ( PodcastSubscriptionModel s ) : void
s PodcastSubscriptionModel
Résultat void

podcastSubscriptionRemoved() public méthode

public podcastSubscriptionRemoved ( PodcastSubscriptionModel s ) : void
s PodcastSubscriptionModel
Résultat void

refreshSubscription() public méthode

public refreshSubscription ( PodcastSubscriptionModel subscription ) : void
subscription PodcastSubscriptionModel
Résultat void

refreshSubscriptions() public méthode

public refreshSubscriptions ( ) : void
Résultat void

removedPlayableEpisode() public méthode

public removedPlayableEpisode ( PodcastEpisodeModel e ) : void
e PodcastEpisodeModel
Résultat void

sanitizeFilename() public static méthode

public static sanitizeFilename ( string podcastString ) : string
podcastString string
Résultat string

wc_DownloadOPMLCompleted() public méthode

public wc_DownloadOPMLCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void
sender object
e DownloadStringCompletedEventArgs
Résultat void