C# 클래스 Popcorn.ViewModels.Movie.MovieViewModel

Manage the movie
상속: ViewModelBase
파일 보기 프로젝트 열기: bbougot/Popcorn

공개 메소드들

메소드 설명
Cleanup ( ) : void

Cleanup resources

MovieViewModel ( IDownloadMovieViewModel downloadMovieViewModel, IMovieService movieService, ITrailerViewModel trailerViewModel ) : System.Diagnostics

Initializes a new instance of the MovieViewModel class.

비공개 메소드들

메소드 설명
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

메소드 상세

Cleanup() 공개 메소드

Cleanup resources
public Cleanup ( ) : void
리턴 void

MovieViewModel() 공개 메소드

Initializes a new instance of the MovieViewModel class.
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
리턴 System.Diagnostics