added deprecation message for IHostResources

This commit is contained in:
sbwalker 2023-06-26 08:11:46 -04:00
parent b2f3a53980
commit 6dd62a164e

View File

@ -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<Resource> Resources { get; } // identifies global resources for an application
}
}