fix #3781 - ModuleBase breaking change

This commit is contained in:
sbwalker 2024-02-14 11:54:04 -05:00
parent 3db744269e
commit a65959de3f

View File

@ -10,6 +10,7 @@ using System.Collections.Generic;
using Microsoft.JSInterop;
using System.Linq;
using System.Dynamic;
using System.Net.Http.Headers;
namespace Oqtane.Modules
{
@ -489,5 +490,8 @@ namespace Oqtane.Modules
{
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(); } }
}
}