메소드 | 설명 | |
---|---|---|
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 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 |