C# Класс TVSorter.Data.Tvdb.TvdbProcess

The tvdb process.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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