sonarr-repo-only/src/NzbDrone.Core/HealthCheck/CheckOnAttribute.cs

17 lines
363 B
C#
Raw Normal View History

using System;
using NzbDrone.Common.Messaging;
namespace NzbDrone.Core.HealthCheck
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class CheckOnAttribute: Attribute
{
public Type EventType { get; set; }
public CheckOnAttribute(Type eventType)
{
EventType = eventType;
}
}
}