using System; using System.Collections.Generic; using NzbDrone.Core.ThingiProvider; namespace NzbDrone.Core.Notifications { public class NotificationDefinition : ProviderDefinition { public NotificationDefinition() { Tags = new HashSet(); } public Boolean OnGrab { get; set; } public Boolean OnDownload { get; set; } public Boolean OnUpgrade { get; set; } public HashSet Tags { get; set; } public override Boolean Enable { get { return OnGrab || (OnDownload && OnUpgrade); } } } }