Merge pull request #3787 from sbwalker/dev

fix #3781 - ModuleBase breaking change
This commit is contained in:
Shaun Walker 2024-02-14 11:54:17 -05:00 committed by GitHub
commit 921f5524e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,7 @@ using System.Collections.Generic;
using Microsoft.JSInterop; using Microsoft.JSInterop;
using System.Linq; using System.Linq;
using System.Dynamic; using System.Dynamic;
using System.Net.Http.Headers;
namespace Oqtane.Modules namespace Oqtane.Modules
{ {
@ -489,5 +490,8 @@ namespace Oqtane.Modules
{ {
return Utilities.FileUrl(PageState.Alias, fileid, asAttachment); return Utilities.FileUrl(PageState.Alias, fileid, asAttachment);
} }
// Referencing ModuleInstance methods from ModuleBase is deprecated. Use the ModuleBase methods instead
public ModuleInstance ModuleInstance { get { return new ModuleInstance(); } }
} }
} }