2017-09-08 19:39:13 +02:00
|
|
|
|
using System.Threading;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2018-12-21 13:42:24 +01:00
|
|
|
|
using Umbraco.Core.Composing;
|
2017-09-08 19:39:13 +02:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.HealthCheck.NotificationMethods
|
|
|
|
|
|
{
|
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; }
|
2017-09-08 19:39:13 +02:00
|
|
|
|
Task SendAsync(HealthCheckResults results, CancellationToken token);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|