/// <summary> /// Initializes a new instance of the <see cref="Series"/> class. /// </summary> public Series() { this.guid = GenerateRandomID.Generate(); this.ID = null; this.AirsDayOfWeek = string.Empty; this.ContentRating = string.Empty; this.FirstAired = null; this.Genre = new BindingList <string>(); this.ImdbId = string.Empty; this.Language = string.Empty; this.Network = string.Empty; this.NetworkID = string.Empty; this.Overview = string.Empty; this.Rating = null; this.Runtime = null; this.SeriesID = null; this.SeriesName = string.Empty; this.Status = string.Empty; this.Added = string.Empty; this.AddedBy = string.Empty; this.SeriesBannerUrl = string.Empty; this.FanartUrl = string.Empty; this.Lastupdated = string.Empty; this.PosterUrl = string.Empty; this.Zap2It_Id = string.Empty; this.airsDayOfWeek = string.Empty; this.Actors = new BindingList <PersonModel>(); this.Banner = new Banner(); this.Seasons = new SortedList <int, Season>(); }
/// <summary> /// Initializes a new instance of the <see cref="Episode"/> class. /// </summary> public Episode() { this.guid = GenerateRandomID.Generate(); this.ID = null; this.CombinedEpisodenumber = null; this.CombinedSeason = null; this.DvdChapter = null; this.DvdDiscid = null; this.DvdEpisodenumber = null; this.DvdSeason = null; this.EpisodeImgFlag = null; this.EpisodeNumber = 0; this.FirstAired = null; this.IMDBID = string.Empty; this.Language = string.Empty; this.Overview = string.Empty; this.ProductionCode = string.Empty; this.Rating = null; this.SeasonNumber = 0; this.AbsoluteNumber = string.Empty; this.EpisodeScreenshotUrl = string.Empty; this.Lastupdated = string.Empty; this.Seasonid = null; this.Seriesid = null; this.Director = new BindingList <PersonModel>(); this.Writers = new BindingList <PersonModel>(); this.FilePath = new MediaModel(); this.GuestStars = new BindingList <PersonModel>(); this.FileInfo = new FileInfoModel(); this.FileInfo.PropertyChanged += (sender, e) => { DatabaseIOFactory.DatabaseDirty = true; ChangedText = true; }; }
/// <summary> /// Initializes a new instance of the <see cref="Season"/> class. /// </summary> public Season() { this.guid = GenerateRandomID.Generate(); this.Episodes = new List <Episode>(); }