Merge pull request #4329 from sbwalker/dev
remove List from method name to conform to Oqtane naming conventions
This commit is contained in:
commit
fa49844c64
|
@ -59,7 +59,7 @@ namespace Oqtane.Managers.Search
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var moduleSearch = (ISearchable)ActivatorUtilities.CreateInstance(_serviceProvider, type);
|
var moduleSearch = (ISearchable)ActivatorUtilities.CreateInstance(_serviceProvider, type);
|
||||||
var contentList = moduleSearch.GetSearchContentList(module, startTime.GetValueOrDefault(DateTime.MinValue));
|
var contentList = moduleSearch.GetSearchContent(module, startTime.GetValueOrDefault(DateTime.MinValue));
|
||||||
if(contentList != null)
|
if(contentList != null)
|
||||||
{
|
{
|
||||||
foreach(var searchContent in contentList)
|
foreach(var searchContent in contentList)
|
||||||
|
|
|
@ -48,7 +48,7 @@ namespace Oqtane.Modules.HtmlText.Manager
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IList<SearchContent> GetSearchContentList(Module module, DateTime startDate)
|
public IList<SearchContent> GetSearchContent(Module module, DateTime startDate)
|
||||||
{
|
{
|
||||||
var searchContentList = new List<SearchContent>();
|
var searchContentList = new List<SearchContent>();
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,6 @@ namespace Oqtane.Interfaces
|
||||||
{
|
{
|
||||||
public interface ISearchable
|
public interface ISearchable
|
||||||
{
|
{
|
||||||
public IList<SearchContent> GetSearchContentList(Module module, DateTime startTime);
|
public IList<SearchContent> GetSearchContent(Module module, DateTime startTime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user