From 7c24221547bb8f068157339690a327e37f8deb52 Mon Sep 17 00:00:00 2001 From: Matho Camara Date: Fri, 6 Dec 2024 08:06:33 +0100 Subject: [PATCH] Allow Resource Management facade to notify when module is available --- .../Facades/ResourceManagementFacade.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Moryx.Resources.Management/Facades/ResourceManagementFacade.cs b/src/Moryx.Resources.Management/Facades/ResourceManagementFacade.cs index 177ab9f06..c3db7f894 100644 --- a/src/Moryx.Resources.Management/Facades/ResourceManagementFacade.cs +++ b/src/Moryx.Resources.Management/Facades/ResourceManagementFacade.cs @@ -9,7 +9,7 @@ namespace Moryx.Resources.Management { - internal class ResourceManagementFacade : IResourceManagement, IFacadeControl + internal class ResourceManagementFacade : FacadeBase, IResourceManagement { #region Dependency Injection @@ -22,11 +22,9 @@ internal class ResourceManagementFacade : IResourceManagement, IFacadeControl #endregion #region IFacadeControl - /// - public Action ValidateHealthState { get; set; } /// - public void Activate() + public override void Activate() { Manager.ResourceAdded += OnResourceAdded; Manager.CapabilitiesChanged += OnCapabilitiesChanged; @@ -34,7 +32,7 @@ public void Activate() } /// - public void Deactivate() + public override void Deactivate() { Manager.ResourceAdded -= OnResourceAdded; Manager.CapabilitiesChanged -= OnCapabilitiesChanged;