diff --git a/Lombiq.Hosting.Tenants.Maintenance/Maintenance/UpdateOpenIdSettings/CustomMaintenanceProvider.cs b/Lombiq.Hosting.Tenants.Maintenance/Maintenance/UpdateOpenIdSettings/CustomMaintenanceProvider.cs index e8723f0..53abf07 100644 --- a/Lombiq.Hosting.Tenants.Maintenance/Maintenance/UpdateOpenIdSettings/CustomMaintenanceProvider.cs +++ b/Lombiq.Hosting.Tenants.Maintenance/Maintenance/UpdateOpenIdSettings/CustomMaintenanceProvider.cs @@ -1,18 +1,9 @@ using Lombiq.Hosting.Tenants.Maintenance.Extensions; using Lombiq.Hosting.Tenants.Maintenance.Models; using Lombiq.Hosting.Tenants.Maintenance.Services; -using Microsoft.AspNetCore.DataProtection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -using OfficeFreund.OpenId.Constants; -using OfficeFreund.OpenId.Services; -using OfficeFreund.OpenId.Settings; -using OrchardCore.ContentManagement.Utilities; using OrchardCore.Environment.Shell; -using OrchardCore.Modules; -using OrchardCore.OpenId.Configuration; -using OrchardCore.OpenId.Services; -using System; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/Lombiq.Hosting.Tenants.Maintenance/Services/ICustomMaintenanceHandler.cs b/Lombiq.Hosting.Tenants.Maintenance/Services/ICustomMaintenanceHandler.cs index b1812f8..ea69d09 100644 --- a/Lombiq.Hosting.Tenants.Maintenance/Services/ICustomMaintenanceHandler.cs +++ b/Lombiq.Hosting.Tenants.Maintenance/Services/ICustomMaintenanceHandler.cs @@ -3,7 +3,13 @@ namespace Lombiq.Hosting.Tenants.Maintenance.Services; +/// +/// Implementations of this interface can be used to execute custom maintenance tasks. +/// public interface ICustomMaintenanceHandler { + /// + /// Executes the maintenance logic. + /// Task ExecuteAsync(MaintenanceTaskExecutionContext context); }