예제 #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
파일: Film.cs 프로젝트: sibannister/cheese
 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;
 }