Table of Contents

Class LambdaEqualityComparerExtensions

Namespace
MassTransit.Util
Assembly
MassTransit.Abstractions.dll
public static class LambdaEqualityComparerExtensions
Inheritance
LambdaEqualityComparerExtensions
Inherited Members

Methods

Distinct<T>(IEnumerable<T>, Func<T, T, bool>)

public static IEnumerable<T> Distinct<T>(this IEnumerable<T> source, Func<T, T, bool> comparer) where T : class

Parameters

source IEnumerable<T>
comparer Func<T, T, bool>

Returns

IEnumerable<T>

Type Parameters

T

Except<T>(IEnumerable<T>, IEnumerable<T>, Func<T?, T?, bool>)

public static IEnumerable<T> Except<T>(this IEnumerable<T> first, IEnumerable<T> second, Func<T?, T?, bool> comparer) where T : class

Parameters

first IEnumerable<T>
second IEnumerable<T>
comparer Func<T, T, bool>

Returns

IEnumerable<T>

Type Parameters

T