Andover.Data.Logs.Provider.Chainsaw.Extensions.LogEntryListExtensions.GetLogEntriesWithoutKeyword C# (CSharp) Method

GetLogEntriesWithoutKeyword() public static method

public static GetLogEntriesWithoutKeyword ( this logEntries, string keyword ) : List
logEntries this
keyword string
return List
        public static List<LogEntry> GetLogEntriesWithoutKeyword(this List<LogEntry> logEntries, string keyword)
        {
            return logEntries.Where(entry => !entry.Message.Contains(keyword)).DefaultIfEmpty().ToList();
        }