예제 #1
0
		public EpisodeEntry( IViewModelContainer viewModelContainer, IDataContainer dataContainer, Episode model, SeriesEntry series )
			: base( viewModelContainer, dataContainer )
		{
			Series = series;
			Model = model;

			if( model.BannerLocation != null )
			{
				BannerUrl = model.BannerLocation;
			}
		}
예제 #2
0
파일: Episode.cs 프로젝트: TheSylence/DeVi
        public virtual void Update( Episode other )
        {
            Debug.Assert( Id == other.Id );

            AbsoluteNumber = other.AbsoluteNumber;
            BannerLocation = other.BannerLocation;
            EpisodeNumber = other.EpisodeNumber;
            FirstAired = other.FirstAired;
            ImdbId = other.ImdbId;
            LastUpdated = other.LastUpdated;
            Name = other.Name;
            Overview = other.Overview;
            ProductionCode = other.ProductionCode;
            Rating = other.Rating;
            Ratings = other.Ratings;
            SeasonNumber = other.SeasonNumber;
            SeriesId = other.SeriesId;

            // TODO: Update writers
            // TODO: Update directors
            // TODO: Update guest stars
        }