C# Class TVSorter.Controller.TvShowsController

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

Public Methods

Method 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

Method 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 method

The create nfo files.
public CreateNfoFiles ( ) : void
return void

Initialise() public method

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

RemoveSelectedShow() public method

Removes the selected show.
public RemoveSelectedShow ( ) : void
return void

ResetLastUpdated() public method

Resets the last updated date of the selected show.
public ResetLastUpdated ( ) : void
return void

SaveSelectedShow() public method

Saves the selceted show.
public SaveSelectedShow ( ) : void
return void

SearchShows() public method

Searches for new shows.
public SearchShows ( ) : void
return void

TvShowSelected() public method

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

UpdateAllShows() public method

Updates all shows.
public UpdateAllShows ( ) : void
return void

UpdateSelectedShow() public method

Updates the selected show.
public UpdateSelectedShow ( ) : void
return void