C# 클래스 PodcastStarterKit.Services.PodcastService

상속: IPodcastService
파일 보기 프로젝트 열기: mangu/Windows-Phone-Starter-Kit-for-Podcasts

공개 메소드들

메소드 설명
GetPodcastInformation ( ) : PodcastInformationModel
GetTwitterFeed ( ) : ObservableCollection

보호된 메소드들

메소드 설명
OnPodcastInfoLoaded ( PodcastStarterKit.ViewModels.LoadEventArgs e ) : void
OnTwitterLoaded ( PodcastStarterKit.ViewModels.LoadEventArgs e ) : void

비공개 메소드들

메소드 설명
Coalesce ( ) : object

Take the first non-null, non-empty value from the list

DownloadPodcastInformationCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void
ParseImageFromDescription ( string description ) : string

Pull out the first img tag we find in the html description. If not, then use a default image.

StripHtmlTags ( string value ) : string

Remove HTML tags from a given string

TwitterStatusInformationCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void
getElementValue ( System.Xml.Linq.XElement element, System.Xml.Linq.XName elementName, string attributeName = "" ) : string

Look for an element and find it's value.

메소드 상세

GetPodcastInformation() 공개 메소드

public GetPodcastInformation ( ) : PodcastInformationModel
리턴 PodcastStarterKit.ViewModels.PodcastInformationModel

GetTwitterFeed() 공개 메소드

public GetTwitterFeed ( ) : ObservableCollection
리턴 ObservableCollection

OnPodcastInfoLoaded() 보호된 메소드

protected OnPodcastInfoLoaded ( PodcastStarterKit.ViewModels.LoadEventArgs e ) : void
e PodcastStarterKit.ViewModels.LoadEventArgs
리턴 void

OnTwitterLoaded() 보호된 메소드

protected OnTwitterLoaded ( PodcastStarterKit.ViewModels.LoadEventArgs e ) : void
e PodcastStarterKit.ViewModels.LoadEventArgs
리턴 void