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