added deprecation message for IHostResources
This commit is contained in:
parent
b2f3a53980
commit
6dd62a164e
@ -1,11 +1,12 @@
|
|||||||
using Oqtane.Models;
|
using Oqtane.Models;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Oqtane.Infrastructure
|
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
|
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
|
List<Resource> Resources { get; } // identifies global resources for an application
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user