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