 | EqualsBuilderAppendManyT Method (IEnumerableT, IEnumerableT, FuncT, T, Boolean) |
Appends two enumerable objects that contain the same type to the list of values to compare.
Namespace: Capgemini.CommonObjectUtilsAssembly: Capgemini.CommonObjectUtils (in Capgemini.CommonObjectUtils.dll) Version: 1.3.0.0
Syntaxpublic EqualsBuilder AppendMany<T>(
IEnumerable<T> left,
IEnumerable<T> right,
Func<T, T, bool> equalityFunc
)
Public Function AppendMany(Of T) (
left As IEnumerable(Of T),
right As IEnumerable(Of T),
equalityFunc As Func(Of T, T, Boolean)
) As EqualsBuilder
public:
generic<typename T>
EqualsBuilder^ AppendMany(
IEnumerable<T>^ left,
IEnumerable<T>^ right,
Func<T, T, bool>^ equalityFunc
)
member AppendMany :
left : IEnumerable<'T> *
right : IEnumerable<'T> *
equalityFunc : Func<'T, 'T, bool> -> EqualsBuilder
Parameters
- left
- Type: System.Collections.GenericIEnumerableT
The left hand enumerable. - right
- Type: System.Collections.GenericIEnumerableT
The right hand enumerable. - equalityFunc
- Type: SystemFuncT, T, Boolean
The equality comparison function.
Type Parameters
- T
- The type the enumerable objects contain.
Return Value
Type:
EqualsBuilderThe EqualsBuilder for chaining calls.
Remarks
EqualsBuilder will perform a deep comparison of the two enumerable objects.
Each element pair in the enumerations is compared by calling the equality function.
See Also