docs.inedo.com →
inedo.com →
BuildMaster SDK Reference
Version:
5.6.0
5.5.0
5.3.0
5.2
5.1
5.0
4.9
4.7
4.5
4.4
4.3
4.2
4.1
BuildMaster SDK
Inedo
FieldEqualityComparer
FieldEqualityComparer Class
Contains standard field comparer factories.
Inheritance Hierarchy
object
Inedo.FieldEqualityComparer
Syntax
public
class
FieldEqualityComparer
Methods
Name
Description
Distinct<TSource, TKey>(System.Collections.Generic.IEnumerable<TSource> source, System.Func<TSource, TKey> getPrimaryKey)
Distinct<TSource, TKey>(System.Collections.Generic.IEnumerable<TSource> source, System.Func<TSource, TKey> getPrimaryKey, System.Collections.Generic.IEqualityComparer<TKey> keyComparer)
Except<TSource, TKey>(System.Collections.Generic.IEnumerable<TSource> first, System.Collections.Generic.IEnumerable<TSource> second, System.Func<TSource, TKey> getPrimaryKey)
Except<TSource, TKey>(System.Collections.Generic.IEnumerable<TSource> first, System.Collections.Generic.IEnumerable<TSource> second, System.Func<TSource, TKey> getPrimaryKey, System.Collections.Generic.IEqualityComparer<TKey> keyComparer)
GetComparer<T, TResult>(System.Func<T, TResult> getField)
GetComparer<T, TResult>(System.Func<T, TResult> getField, System.Collections.Generic.IEqualityComparer<TResult> fieldComparer)
Union<TSource, TKey>(System.Collections.Generic.IEnumerable<TSource> first, System.Collections.Generic.IEnumerable<TSource> second, System.Func<TSource, TKey> getPrimaryKey)
Union<TSource, TKey>(System.Collections.Generic.IEnumerable<TSource> first, System.Collections.Generic.IEnumerable<TSource> second, System.Func<TSource, TKey> getPrimaryKey, System.Collections.Generic.IEqualityComparer<TKey> keyComparer)