Method | Description | |
---|---|---|
MainViewModel ( IGenresViewModel genresViewModel, IMovieService movieService, IMovieHistoryService movieHistoryService, IApplicationState applicationState ) : System |
Initializes a new instance of the MainViewModel class.
|
Method | Description | |
---|---|---|
LoadTabsAsync ( ) : System.Threading.Tasks.Task |
Load tabs asynchronously
|
|
ManageException ( |
Manage an exception
|
|
OnUnhandledException ( object sender, |
Display a dialog on unhandled exception
|
|
OnWindowStateChanged ( Popcorn.Events.WindowStateChangedEventArgs e ) : void |
Fire when window state has changed
|
|
RegisterCommands ( ) : void |
Register commands
|
|
RegisterMessages ( ) : void |
Register messages
|
|
SearchMovies ( string criteria ) : System.Threading.Tasks.Task |
Search for movie with a criteria
|
|
StartUpdateProcessAsync ( ) : System.Threading.Tasks.Task |
Look for update then download and apply if any
|
public MainViewModel ( IGenresViewModel genresViewModel, IMovieService movieService, IMovieHistoryService movieHistoryService, IApplicationState applicationState ) : System | ||
genresViewModel | IGenresViewModel | Instance of GenresViewModel |
movieService | IMovieService | Instance of MovieService |
movieHistoryService | IMovieHistoryService | Instance of MovieHistoryService |
applicationState | IApplicationState | Instance of ApplicationState |
return | System |