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