C# Class TVSorter.Controller.TvShowsController

The controller for the TV Shows tab.
Inheritance: ControllerBase
Afficher le fichier Open project: a-jackson/tvsorter Class Usage Examples

Méthodes publiques

Méthode Description
CreateNfoFiles ( ) : void

The create nfo files.

Initialise ( IView view ) : void

Initialises the controller.

RemoveSelectedShow ( ) : void

Removes the selected show.

ResetLastUpdated ( ) : void

Resets the last updated date of the selected show.

SaveSelectedShow ( ) : void

Saves the selceted show.

SearchShows ( ) : void

Searches for new shows.

TvShowSelected ( int newIndex ) : void

Changes the selection of the TV show.

UpdateAllShows ( ) : void

Updates all shows.

UpdateSelectedShow ( ) : void

Updates the selected show.

Private Methods

Méthode Description
OnSearchShowsComplete ( ) : void

Raises an on search shows complete event.

OnSettingsChanged ( object sender, EventArgs e ) : void

Handles the settings changing.

OnTvShowAdded ( object sender, TvShowEventArgs e ) : void

Handles the TVShow's OnTvShowAdded event.

OnTvShowChanged ( object sender, TvShowEventArgs e ) : void

Handles the TVShow's OnTvShowChanged event.

OnTvShowRemoved ( object sender, TvShowEventArgs e ) : void

Handles the TVShow's OnTvShowRemoved event.

Method Details

CreateNfoFiles() public méthode

The create nfo files.
public CreateNfoFiles ( ) : void
Résultat void

Initialise() public méthode

Initialises the controller.
public Initialise ( IView view ) : void
view IView /// The view the controller is for. ///
Résultat void

RemoveSelectedShow() public méthode

Removes the selected show.
public RemoveSelectedShow ( ) : void
Résultat void

ResetLastUpdated() public méthode

Resets the last updated date of the selected show.
public ResetLastUpdated ( ) : void
Résultat void

SaveSelectedShow() public méthode

Saves the selceted show.
public SaveSelectedShow ( ) : void
Résultat void

SearchShows() public méthode

Searches for new shows.
public SearchShows ( ) : void
Résultat void

TvShowSelected() public méthode

Changes the selection of the TV show.
public TvShowSelected ( int newIndex ) : void
newIndex int /// The new index. ///
Résultat void

UpdateAllShows() public méthode

Updates all shows.
public UpdateAllShows ( ) : void
Résultat void

UpdateSelectedShow() public méthode

Updates the selected show.
public UpdateSelectedShow ( ) : void
Résultat void