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();