public Channel(string name, Film[] films) { Name = name; Films = films; }
private static Film[] GetFilms(JToken channelsJson) { Film[] films = new Film[0]; return channelsJson.GetValue(FilmsKey, films); }
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); }
public FilmViewModel(Film film) { _film = film; }