From b031c3d63c773e28d8dfbca47636bf12b847e0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Fri, 13 Apr 2018 09:42:12 +0300 Subject: [PATCH] Add summary for AbpCollectionExtensions.RemoveAll. --- .../System/Collections/Generic/AbpCollectionExtensions.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs b/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs index 089aa57d25..0750dbc41e 100644 --- a/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs +++ b/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs @@ -37,6 +37,13 @@ namespace System.Collections.Generic return true; } + /// + /// Removed all items from a collection those satisfy the given . + /// + /// Type of the items in the collection + /// The collection + /// The condition to remove the items + /// List of removed items public static IList RemoveAll([NotNull] this ICollection source, Func predicate) { var items = source.Where(predicate).ToList();