C# 클래스 TVSorter.Data.Tvdb.TvdbProcess

The tvdb process.
파일 보기 프로젝트 열기: a-jackson/tvsorter 1 사용 예제들

공개 메소드들

메소드 설명
ProcessSearch ( TextReader xml, string name ) : List

Processes the results of a search.

ProcessShow ( TvShow show, string filePath, System.DateTime serverTime ) : void

Processes a cached XML file to extract all the episodes and save them.

ProcessUpdates ( StringReader xml ) : IEnumerable

Processes the updates XML to get the list of IDs that have updated.

비공개 메소드들

메소드 설명
GetElementValue ( System.Xml.Linq.XElement element, string child, string defaultValue ) : string

Gets the value from the specified child element.

OnBannerDownloadRequired ( TvShow show, string newBanner ) : void

Raises a banner download required event.

ParseInt ( string str, int defaultValue = -1 ) : int

Parses an int and returns the default value if unsuccessful.

메소드 상세

ProcessSearch() 공개 메소드

Processes the results of a search.
public ProcessSearch ( TextReader xml, string name ) : List
xml System.IO.TextReader /// The xml that has been downloaded. ///
name string /// The name of the show that has been searched. ///
리턴 List

ProcessShow() 공개 메소드

Processes a cached XML file to extract all the episodes and save them.
public ProcessShow ( TvShow show, string filePath, System.DateTime serverTime ) : void
show TvShow /// The show to process. ///
filePath string /// The path to its XML file. ///
serverTime System.DateTime /// The time of the server. ///
리턴 void

ProcessUpdates() 공개 메소드

Processes the updates XML to get the list of IDs that have updated.
public ProcessUpdates ( StringReader xml ) : IEnumerable
xml System.IO.StringReader /// The XML to process. ///
리턴 IEnumerable