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