fix: Updates container searches for non-generic types (#1567)
This commit is contained in:
parent
331f24cb71
commit
3109f59d4d
9 changed files with 248 additions and 175 deletions
|
|
@ -67,12 +67,9 @@ namespace Server.Commands.Generic
|
|||
|
||||
var list = new List<object>();
|
||||
|
||||
foreach (var item in cont.FindItems())
|
||||
foreach (var item in cont.EnumerateItems(true, ext.IsValid))
|
||||
{
|
||||
if (ext.IsValid(item))
|
||||
{
|
||||
list.Add(item);
|
||||
}
|
||||
list.Add(item);
|
||||
}
|
||||
|
||||
ext.Filter(list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue