Make more types IDiscoverable

This commit is contained in:
Stephan
2018-12-21 13:42:24 +01:00
parent 90ab90d6b9
commit a571af8be2
2 changed files with 4 additions and 2 deletions

View File

@@ -1,10 +1,11 @@
using Semver;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
using Umbraco.Core.Scoping;
namespace Umbraco.Core.Migrations
{
public interface IPostMigration
public interface IPostMigration : IDiscoverable
{
void Execute(string name, IScope scope, SemVersion originVersion, SemVersion targetVersion, ILogger logger);
}

View File

@@ -1,9 +1,10 @@
using System.Threading;
using System.Threading.Tasks;
using Umbraco.Core.Composing;
namespace Umbraco.Web.HealthCheck.NotificationMethods
{
public interface IHealthCheckNotificationMethod
public interface IHealthCheckNotificationMethod : IDiscoverable
{
bool Enabled { get; }
Task SendAsync(HealthCheckResults results, CancellationToken token);