protected virtual bool CanProcessUnit(UnitList aCurrentIntfUnits, UnitList aCurrentImplUnits, ICollection<string> aRequiredUnits)
 {
     return aCurrentIntfUnits.Concat<string>(aCurrentImplUnits).Intersect<string>(aRequiredUnits).Count() == aRequiredUnits.Count;
 }
Example #2
0
 protected virtual bool CanProcessUnit(UnitList aCurrentIntfUnits, UnitList aCurrentImplUnits, ICollection <string> aRequiredUnits)
 {
     return(aCurrentIntfUnits.Concat <string>(aCurrentImplUnits).Intersect <string>(aRequiredUnits).Count() == aRequiredUnits.Count);
 }