use List instead of IList, remove "List" from method names. remove unnecessary using statements
This commit is contained in:
@ -31,9 +31,9 @@ namespace Oqtane.Models
|
||||
|
||||
public string AdditionalContent { get; set; }
|
||||
|
||||
public IList<SearchContentProperty> SearchContentProperties { get; set; }
|
||||
public List<SearchContentProperty> SearchContentProperties { get; set; }
|
||||
|
||||
public IList<SearchContentWord> SearchContentWords { get; set; }
|
||||
public List<SearchContentWord> SearchContentWords { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Oqtane.Models
|
||||
|
||||
public string Keywords { get; set; }
|
||||
|
||||
public IList<string> EntityNames { get; set; } = new List<string>();
|
||||
public List<string> EntityNames { get; set; } = new List<string>();
|
||||
|
||||
public DateTime BeginModifiedTimeUtc { get; set; }
|
||||
|
||||
|
@ -4,7 +4,7 @@ namespace Oqtane.Models
|
||||
{
|
||||
public class SearchResults
|
||||
{
|
||||
public IList<SearchResult> Results { get; set; }
|
||||
public List<SearchResult> Results { get; set; }
|
||||
|
||||
public int TotalResults { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user