C# Class TVSorter.Controller.SearchResultsController

The controller for displaying search results.
Inheritance: ShowSearchController
显示文件 Open project: a-jackson/tvsorter Class Usage Examples

Public Methods

Method Description
Initialise ( IView view ) : void

Initialises the controller.

Select ( int index ) : void

Selects the specified index as the desired result.

SetResults ( string name, IList searchResults ) : void

Sets the results for the specified search term.

Method Details

Initialise() public method

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

Select() public method

Selects the specified index as the desired result.
public Select ( int index ) : void
index int /// The index to select. ///
return void

SetResults() public method

Sets the results for the specified search term.
public SetResults ( string name, IList searchResults ) : void
name string /// The name of the show searched for. ///
searchResults IList /// The list of possible results. ///
return void