public IReadOnlyList <UsageRecord> RecordsOf(UsageType type) { return(RecordsList.Where(r => r.Type == type).ToList()); }
public IReadOnlyList <UsageRecord> RecordsOf(string message) { return(RecordsList.Where(r => r.Message.Contains(message)).ToList()); }
public IReadOnlyList <UsageRecord> RecordsOf(User op) { return(RecordsList.Where(r => r.Operator == op).ToList()); }