mirror of
https://github.com/Readarr/Readarr
synced 2026-01-18 05:24:21 +01:00
19 lines
520 B
C#
19 lines
520 B
C#
using NzbDrone.Core.Localization;
|
|
|
|
namespace NzbDrone.Core.HealthCheck
|
|
{
|
|
public abstract class HealthCheckBase : IProvideHealthCheck
|
|
{
|
|
public readonly ILocalizationService _localizationService;
|
|
public HealthCheckBase(ILocalizationService localizationService)
|
|
{
|
|
_localizationService = localizationService;
|
|
}
|
|
|
|
public abstract HealthCheck Check();
|
|
|
|
public virtual bool CheckOnStartup => true;
|
|
|
|
public virtual bool CheckOnSchedule => true;
|
|
}
|
|
}
|