示例#1
0
 public Channel(string name, Film[] films)
 {
     Name = name;
     Films = films;
 }
示例#2
0
 private static Film[] GetFilms(JToken channelsJson)
 {
     Film[] films = new Film[0];
     return channelsJson.GetValue(FilmsKey, films);
 }
示例#3
0
 public bool Equals(Film other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Name, Name) && Equals(other.Channel, Channel) && other.Rating.Equals(Rating) && other.StartDateTime.Equals(StartDateTime) && other.EndDateTime.Equals(EndDateTime) && other.Image.Equals(Image);
 }
示例#4
0
 public FilmViewModel(Film film)
 {
     _film = film;
 }