Ejemplo n.º 1
0
 private bool IsIncludeAllCodes(RecieverCollection recievers)
 {
     return recievers.Cast<Reciever>().Any(r => r.SourceList.Count == 0);
 }
Ejemplo n.º 2
0
 private IEnumerable<string> GetSourceCodesFromRecievers(RecieverCollection recievers)
 {
     return recievers.Cast<Reciever>().SelectMany(c => c.SourceList).Distinct();
 }