change IList to List for consistency with rest of framework
This commit is contained in:
parent
59fed7dda8
commit
8ce07ced9e
|
@ -59,7 +59,7 @@ namespace Oqtane.Managers.Search
|
|||
try
|
||||
{
|
||||
var moduleSearch = (ISearchable)ActivatorUtilities.CreateInstance(_serviceProvider, type);
|
||||
var contentList = moduleSearch.GetSearchContent(module, startTime.GetValueOrDefault(DateTime.MinValue));
|
||||
var contentList = moduleSearch.GetSearchContents(module, startTime.GetValueOrDefault(DateTime.MinValue));
|
||||
if(contentList != null)
|
||||
{
|
||||
foreach(var searchContent in contentList)
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace Oqtane.Modules.HtmlText.Manager
|
|||
return content;
|
||||
}
|
||||
|
||||
public IList<SearchContent> GetSearchContent(Module module, DateTime startDate)
|
||||
public List<SearchContent> GetSearchContents(Module module, DateTime startDate)
|
||||
{
|
||||
var searchContentList = new List<SearchContent>();
|
||||
|
||||
|
|
|
@ -6,6 +6,6 @@ namespace Oqtane.Interfaces
|
|||
{
|
||||
public interface ISearchable
|
||||
{
|
||||
public IList<SearchContent> GetSearchContent(Module module, DateTime startTime);
|
||||
public List<SearchContent> GetSearchContents(Module module, DateTime startTime);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user