From 6dd62a164e23e50f15726d9f9d55222d80fe33c9 Mon Sep 17 00:00:00 2001 From: sbwalker Date: Mon, 26 Jun 2023 08:11:46 -0400 Subject: [PATCH] added deprecation message for IHostResources --- Oqtane.Server/Infrastructure/Interfaces/IHostResources.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Oqtane.Server/Infrastructure/Interfaces/IHostResources.cs b/Oqtane.Server/Infrastructure/Interfaces/IHostResources.cs index f22c53f0..1abb0845 100644 --- a/Oqtane.Server/Infrastructure/Interfaces/IHostResources.cs +++ b/Oqtane.Server/Infrastructure/Interfaces/IHostResources.cs @@ -1,11 +1,12 @@ using Oqtane.Models; +using System; using System.Collections.Generic; namespace Oqtane.Infrastructure { - // this interface is for declaring global resources and is useful for scenarios where you want to declare resources in a single location for the entire application public interface IHostResources { + [Obsolete("IHostResources is deprecated. Use module or theme scoped Resources in conjunction with ResourceLevel.Site instead.", false)] List Resources { get; } // identifies global resources for an application } }