예제 #1
0
 private MovieInfo(
     string title,
     string overview,
     IReadOnlyList <string> genres,
     string language,
     DateTime releaseDate,
     int ranking,
     ScreenSize screenSize)
 {
     Title       = title;
     Overview    = overview;
     Genres      = genres;
     Language    = language;
     ReleaseDate = releaseDate;
     Ranking     = ranking;
     ScreenSize  = screenSize;
 }
예제 #2
0
 public static MovieInfo Create(string title, string overview, IReadOnlyList <string> genres, string language, DateTime releaseDate, int ranking, ScreenSize screenSize)
 {
     return(new MovieInfo(title, overview, genres, language, releaseDate, ranking, screenSize));
 }
예제 #3
0
 protected bool Equals(ScreenSize other)
 {
     return(Value == other.Value);
 }