FIL-4 Completed refactoring of Sections to ItemFilterCommentBlocks
This commit is contained in:
@@ -31,9 +31,8 @@ namespace Filtration.ItemFilterPreview.Services
|
||||
sw.Restart();
|
||||
|
||||
var matchedBlock = itemFilterScript.ItemFilterBlocks
|
||||
.OfType<IItemFilterBlock>()
|
||||
.Where(b => !(b is ItemFilterSection))
|
||||
.FirstOrDefault(block => _blockItemMatcher.ItemBlockMatch(block, item));
|
||||
.OfType<IItemFilterBlock>()
|
||||
.FirstOrDefault(block => _blockItemMatcher.ItemBlockMatch(block, item));
|
||||
|
||||
filteredItems.Add(new FilteredItem(item, matchedBlock));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user