sonarr-repo-only/NzbDrone.Core/Tv/Events/EpisodeInfoAddedEvent.cs

19 lines
555 B
C#

using System.Collections.Generic;
using System.Collections.ObjectModel;
using NzbDrone.Common.Messaging;
using NzbDrone.Core.Messaging;
namespace NzbDrone.Core.Tv.Events
{
public class EpisodeInfoAddedEvent : IEvent
{
public Series Series { get; private set; }
public ReadOnlyCollection<Episode> Episodes { get; private set; }
public EpisodeInfoAddedEvent(IList<Episode> episodes, Series series)
{
Series = series;
Episodes = new ReadOnlyCollection<Episode>(episodes);
}
}
}