C# Class PeerCastStation.UI.AppCastReader

Show file Open project: kumaryu/peercaststation

Public Methods

Method Description
AppCastReader ( ) : System
DownloadVersionInfoAsync ( Uri source, Action handler ) : bool
DownloadVersionInfoTaskAsync ( Uri source, CancellationToken cancel_token ) : Task>

Private Methods

Method Description
GetContents ( System.Xml.Linq.XElement src ) : string
GetDateTimeValue ( System.Xml.Linq.XElement src ) : System.DateTime
GetInstallerTypeValue ( System.Xml.Linq.XAttribute src ) : InstallerType
GetIntValue ( System.Xml.Linq.XAttribute src ) : long
GetStringValue ( System.Xml.Linq.XAttribute src ) : string
GetStringValue ( System.Xml.Linq.XElement src ) : string
GetUriValue ( System.Xml.Linq.XAttribute src ) : Uri
GetUriValue ( System.Xml.Linq.XElement src ) : Uri
OnDownloadDataCompleted ( object sender, DownloadDataCompletedEventArgs args ) : void
ParseAppCast ( string data ) : IEnumerable

Method Details

AppCastReader() public method

public AppCastReader ( ) : System
return System

DownloadVersionInfoAsync() public method

public DownloadVersionInfoAsync ( Uri source, Action handler ) : bool
source System.Uri
handler Action
return bool

DownloadVersionInfoTaskAsync() public method

public DownloadVersionInfoTaskAsync ( Uri source, CancellationToken cancel_token ) : Task>
source System.Uri
cancel_token System.Threading.CancellationToken
return Task>