Méthode | Description | |
---|---|---|
Cleanup ( ) : void |
Cleanup resources
|
|
MovieViewModel ( IDownloadMovieViewModel downloadMovieViewModel, IMovieService movieService, ITrailerViewModel trailerViewModel ) : System.Diagnostics |
Initializes a new instance of the MovieViewModel class.
|
Méthode | Description | |
---|---|---|
LoadMovieAsync ( Popcorn.Models.Movie.MovieShort movie ) : Task |
Load the requested movie
|
|
RegisterCommands ( ) : void |
Register commands
|
|
RegisterMessages ( ) : void |
Register messages
|
|
StopLoadingMovie ( ) : void |
Stop loading the movie
|
|
StopLoadingTrailer ( ) : void |
Stop playing the movie's trailer
|
|
StopPlayingMovie ( ) : void |
Stop playing a movie
|
|
StopPlayingTrailer ( ) : void |
Stop playing the movie's trailer
|
public MovieViewModel ( IDownloadMovieViewModel downloadMovieViewModel, IMovieService movieService, ITrailerViewModel trailerViewModel ) : System.Diagnostics | ||
downloadMovieViewModel | IDownloadMovieViewModel | ViewModel which manages the movie download |
movieService | IMovieService | Service used to interact with movies |
trailerViewModel | ITrailerViewModel | ViewModel which manages the trailer |
Résultat | System.Diagnostics |