Lidarr/src/NzbDrone.Core/HealthCheck/EventDrivenHealthCheck.cs

15 lines
403 B
C#
Raw Normal View History

namespace NzbDrone.Core.HealthCheck
{
public class EventDrivenHealthCheck
{
public IProvideHealthCheck HealthCheck { get; set; }
public CheckOnCondition Condition { get; set; }
public EventDrivenHealthCheck(IProvideHealthCheck healthCheck, CheckOnCondition condition)
{
HealthCheck = healthCheck;
Condition = condition;
}
}
}