コード例 #1
0
ファイル: EpisodeEntry.cs プロジェクト: TheSylence/DeVi
		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
        }