add support specifying RenderMode for Resources

This commit is contained in:
sbwalker
2024-03-02 08:34:24 -05:00
parent ca58bf661d
commit 25753af331
5 changed files with 40 additions and 20 deletions

View File

@ -62,6 +62,11 @@ namespace Oqtane.Models
/// </summary>
public string Content { get; set; }
/// <summary>
/// For Scripts this defines the render mode (default is all render modes) - not applicable to Stylesheets
/// </summary>
public string RenderMode { get; set; }
/// <summary>
/// The namespace of the component that declared the resource - only used in SiteRouter
/// </summary>