mirror of https://github.com/lidarr/Lidarr
15 lines
403 B
C#
15 lines
403 B
C#
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|