diff --git a/src/Umbraco.Core/Persistence/Migrations/IMigration.cs b/src/Umbraco.Core/Persistence/Migrations/IMigration.cs index 2769400e44..8d0adcf4bc 100644 --- a/src/Umbraco.Core/Persistence/Migrations/IMigration.cs +++ b/src/Umbraco.Core/Persistence/Migrations/IMigration.cs @@ -1,9 +1,11 @@ -namespace Umbraco.Core.Persistence.Migrations +using umbraco.interfaces; + +namespace Umbraco.Core.Persistence.Migrations { /// /// Marker interface for database migrations /// - public interface IMigration + public interface IMigration : IDiscoverable { void Up(); void Down(); diff --git a/src/Umbraco.Web/Editors/IEditorValidator.cs b/src/Umbraco.Web/Editors/IEditorValidator.cs index e1d4e68ed2..8cbd4e2949 100644 --- a/src/Umbraco.Web/Editors/IEditorValidator.cs +++ b/src/Umbraco.Web/Editors/IEditorValidator.cs @@ -1,10 +1,11 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; +using umbraco.interfaces; namespace Umbraco.Web.Editors { - internal interface IEditorValidator + internal interface IEditorValidator : IDiscoverable { Type ModelType { get; } IEnumerable Validate(object model); diff --git a/src/Umbraco.Web/HealthCheck/HealthCheck.cs b/src/Umbraco.Web/HealthCheck/HealthCheck.cs index ec1358947a..34158a66eb 100644 --- a/src/Umbraco.Web/HealthCheck/HealthCheck.cs +++ b/src/Umbraco.Web/HealthCheck/HealthCheck.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Runtime.Serialization; +using umbraco.interfaces; using Umbraco.Core; namespace Umbraco.Web.HealthCheck @@ -9,7 +10,7 @@ namespace Umbraco.Web.HealthCheck /// The abstract health check class /// [DataContract(Name = "healtCheck", Namespace = "")] - public abstract class HealthCheck + public abstract class HealthCheck : IDiscoverable { protected HealthCheck(HealthCheckContext healthCheckContext) {