use List instead of IList, remove "List" from method names. remove unnecessary using statements

This commit is contained in:
sbwalker
2024-06-11 10:38:44 -04:00
parent b27f80ef87
commit 27356ef747
11 changed files with 23 additions and 32 deletions

View File

@ -4,14 +4,14 @@ namespace Oqtane.Shared
{
public sealed class SearchUtils
{
private static readonly IList<string> _systemPages;
private static readonly List<string> _systemPages;
static SearchUtils()
{
_systemPages = new List<string> { "login", "register", "profile", "404", "search" };
}
public static IList<string> GetKeywordsList(string keywords)
public static List<string> GetKeywords(string keywords)
{
var keywordsList = new List<string>();
if(!string.IsNullOrEmpty(keywords))