Browse Source

Fixed #674: Argument check error

pull/676/head
Halil ibrahim Kalkan 8 years ago
parent
commit
2a2f3c267d
  1. 2
      framework/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs

2
framework/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs

@ -75,7 +75,7 @@ namespace System.Collections.Generic
public static bool AddIfNotContains<T>([NotNull] this ICollection<T> source, [NotNull] Func<T, bool> predicate, [NotNull] Func<T> itemFactory)
{
Check.NotNull(source, nameof(source));
Check.NotNull(source, nameof(predicate));
Check.NotNull(predicate, nameof(predicate));
Check.NotNull(itemFactory, nameof(itemFactory));
if (source.Any(predicate))

Loading…
Cancel
Save