public static IEnumerable <ServiceDescriptor> Except( this IEnumerable <ServiceDescriptor> serviceDescriptors, ServiceDescriptorExceptionCollection exceptionList, IEqualityComparer <ServiceDescriptor> equalityComparer) { return(serviceDescriptors.Where(d => !exceptionList.Contains(d, equalityComparer))); }
public static IEnumerable <ServiceDescriptor> Except( this IEnumerable <ServiceDescriptor> serviceDescriptors, ServiceDescriptorExceptionCollection exceptionList) { return(serviceDescriptors.Where(d => !exceptionList.Contains(d))); }