예제 #1
0
파일: Review.cs 프로젝트: vitoth/Zav
 public Review(User user, string text, Movie movie)
 {
     this.text = text;
     this.user = user;
     this.movie = movie;
     //Prilikom stvaranje recenzije, konstruktoru recenzije treba proslijediti 
     //registriranog korisnika,referencu na film te tekst recenzije
 }
예제 #2
0
 public FilterReviewByMovie(Movie movie)
 {
     this.movie = movie;
 }
예제 #3
0
 public bool Pass(Movie movie)
 {
     return movie.genre == this.genre;
 }
예제 #4
0
 public bool Pass(Movie movie)
 {
     return movie.director == this.director;
 }