2021-02-03 07:42:56 +01:00
|
|
|
|
using System.Threading.Tasks;
|
2018-12-21 13:42:24 +01:00
|
|
|
|
using Umbraco.Core.Composing;
|
2017-09-08 19:39:13 +02:00
|
|
|
|
|
2021-02-03 07:42:56 +01:00
|
|
|
|
namespace Umbraco.Core.HealthChecks.NotificationMethods
|
2017-09-08 19:39:13 +02:00
|
|
|
|
{
|
2018-12-21 13:42:24 +01:00
|
|
|
|
public interface IHealthCheckNotificationMethod : IDiscoverable
|
2017-09-08 19:39:13 +02:00
|
|
|
|
{
|
2017-09-19 15:51:47 +02:00
|
|
|
|
bool Enabled { get; }
|
2020-10-30 13:56:13 +01:00
|
|
|
|
|
|
|
|
|
|
Task SendAsync(HealthCheckResults results);
|
2017-09-08 19:39:13 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|