2013-03-03 22:26:41 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Collections.ObjectModel;
|
2013-04-24 01:56:00 +00:00
|
|
|
|
using NzbDrone.Common.Messaging;
|
2013-03-03 22:26:41 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Tv.Events
|
|
|
|
|
{
|
|
|
|
|
public class EpisodeInfoAddedEvent : IEvent
|
|
|
|
|
{
|
2013-05-20 22:45:16 +00:00
|
|
|
|
public Series Series { get; private set; }
|
2013-03-03 22:26:41 +00:00
|
|
|
|
public ReadOnlyCollection<Episode> Episodes { get; private set; }
|
|
|
|
|
|
2013-05-20 22:45:16 +00:00
|
|
|
|
public EpisodeInfoAddedEvent(IList<Episode> episodes, Series series)
|
2013-03-03 22:26:41 +00:00
|
|
|
|
{
|
2013-05-20 22:45:16 +00:00
|
|
|
|
Series = series;
|
2013-03-03 22:26:41 +00:00
|
|
|
|
Episodes = new ReadOnlyCollection<Episode>(episodes);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|