CleanCode.AlertFilter3.AndIsNewEntry C# (CSharp) Method

AndIsNewEntry() public static method

public static AndIsNewEntry ( this alerts, bool isNewEntry ) : IEnumerable
alerts this
isNewEntry bool
return IEnumerable
        public static IEnumerable<Alert> AndIsNewEntry(this IEnumerable<Alert> alerts, bool isNewEntry)
        {
            return alerts.Where(a => isNewEntry);
        }