Метод | Описание | |
---|---|---|
GetDuplicateEpisodes ( ) : IEnumerable |
Gets the episodes that have more than 1 file grouped by show.
|
|
GetMissingEpisodes ( ) : IEnumerable |
Gets the episodes that are missing grouped by show.
|
|
GetName ( string name ) : System.Xml.Linq.XName |
Gets the XName for a name.
|
|
LoadMissingEpisodeSettings ( |
Loads the missing episode settings from the XML file.
|
|
LoadSettings ( |
Reads the settings from the XML file.
|
|
LoadTvShows ( ) : IEnumerable |
Loads all the TVShows from the XML file.
|
|
RemoveShow ( TvShow show ) : void |
Removes the specified show from the storage.
|
|
SaveEpisode ( Episode episode ) : void |
Saves the specified episode.
|
|
SaveMissingEpisodeSettings ( |
Saves the missing episode settings into the XML file.
|
|
SaveSettings ( |
Saves the specified settings into the XML file.
|
|
SaveShow ( TvShow show ) : void |
Saves the specified show. Updates if it already exists and adds if it doesn't
|
|
SaveShows ( IEnumerable |
Saves a collection of shows.
|
|
Xml ( ) : System |
Initializes a new instance of the Xml class. Initialises a new instance of the TvShowXml class.
|
Метод | Описание | |
---|---|---|
GetDocument ( ) : void |
Get the XDocument instance of the XML file.
|
|
GetEpisodes ( bool>.Func |
Gets the episodes based on the specified function of file count.
|
|
Initialise ( ) : void |
Initialises the class for reading the XML file.
|
|
NewTvShow ( System.Xml.Linq.XElement element ) : TvShow |
Gets a new TVShow from the specified element.
|
|
OnSettingsSaved ( ) : void |
Fires the SettingsSaved event.
|
|
OnTvShowAdded ( TvShow show ) : void |
Fires a TVShow added event.
|
|
OnTvShowChanged ( TvShow show ) : void |
Fires a TvShowChanged event.
|
|
OnTvShowRemoved ( TvShow show ) : void |
Fires a TvShowRemoved event.
|
|
SanitizeXml ( System.Xml.Linq.XElement root ) : void |
Santizes the XML file of empty namespaces
|
|
UpdateToVersion2 ( System.Xml.Linq.XElement root ) : void |
Updates the specified element to XML format version 2.
|
|
UpdateToVersion3 ( System.Xml.Linq.XElement root ) : void |
Updates the XML to verison 3.
|
|
UpdateToVersion4 ( System.Xml.Linq.XElement root ) : void |
Updates the XML to version 4
|
|
UpdateToVersion5 ( System.Xml.Linq.XElement root ) : void |
Updates the xml to version 5
|
|
ValidateXml ( string schema ) : void |
Validates the XML file against the specified schema.
|
public GetDuplicateEpisodes ( ) : IEnumerable |
||
Результат | IEnumerable |
public GetMissingEpisodes ( ) : IEnumerable |
||
Результат | IEnumerable |
public static GetName ( string name ) : System.Xml.Linq.XName | ||
name | string | /// The name to get. /// |
Результат | System.Xml.Linq.XName |
public LoadMissingEpisodeSettings ( |
||
settings | /// The settings to load into. /// | |
Результат | void |
public LoadSettings ( |
||
settings | /// The settings to set from the XML. /// | |
Результат | void |
public RemoveShow ( TvShow show ) : void | ||
show | TvShow | /// The show to remove. /// |
Результат | void |
public SaveEpisode ( Episode episode ) : void | ||
episode | Episode | /// The episode to save. /// |
Результат | void |
public SaveMissingEpisodeSettings ( |
||
settings | /// The settings to save. /// | |
Результат | void |
public SaveSettings ( |
||
settings | /// The settings to save. /// | |
Результат | void |
public SaveShow ( TvShow show ) : void | ||
show | TvShow | /// The show to save. /// |
Результат | void |
public SaveShows ( IEnumerable |
||
shows | IEnumerable |
/// The shows to save. /// |
Результат | void |