More IDiscoverable

This commit is contained in:
Stephan
2017-03-05 11:28:32 +01:00
parent 3b3eda5bfc
commit 4f1b76f5ff
3 changed files with 8 additions and 4 deletions

View File

@@ -1,9 +1,11 @@
namespace Umbraco.Core.Persistence.Migrations
using umbraco.interfaces;
namespace Umbraco.Core.Persistence.Migrations
{
/// <summary>
/// Marker interface for database migrations
/// </summary>
public interface IMigration
public interface IMigration : IDiscoverable
{
void Up();
void Down();

View File

@@ -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<ValidationResult> Validate(object model);

View File

@@ -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
/// </summary>
[DataContract(Name = "healtCheck", Namespace = "")]
public abstract class HealthCheck
public abstract class HealthCheck : IDiscoverable
{
protected HealthCheck(HealthCheckContext healthCheckContext)
{