Skip to content

T_CodeJam_Collections_ComparerBuilder_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

ComparerBuilder(T) Class

Builds comparer functions and comparers.

Inheritance Hierarchy

System.Object
  CodeJam.Collections.ComparerBuilder(T)
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static class ComparerBuilder<T>

VB

Public NotInheritable Class ComparerBuilder(Of T)

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
type ComparerBuilder<'T> =  class end

Type Parameters

 

T
The type of objects to compare.

Methods

 

Name Description
Public methodStatic member GetEqualityComparer() Returns implementations of the IEqualityComparer(T) generic interface based on object public members equality.
Public methodStatic member GetEqualityComparer(Expression(Func(T, Object))[]) Returns implementations of the IEqualityComparer(T) generic interface based on provided object public members equality.
Public methodStatic member GetEqualityComparer(Func(TypeAccessor(T), IEnumerable(MemberAccessor))) Returns implementations of the IEqualityComparer(T) generic interface based on provided object public members equality.
Public methodStatic member GetEqualsFunc() Returns GetEqualsFunc function for type T to compare.
Public methodStatic member GetEqualsFunc(Expression(Func(T, Object))[]) Returns GetEqualsFunc function for provided members for type T to compare.
Public methodStatic member GetEqualsFunc(IEnumerable(MemberAccessor)) Returns GetEqualsFunc function for provided members for type T to compare.
Public methodStatic member GetGetHashCodeFunc() Returns GetHashCode function for type T to compare.
Public methodStatic member GetGetHashCodeFunc(Expression(Func(T, Object))[]) Returns GetHashCode function for provided members for type T to compare.
Public methodStatic member GetGetHashCodeFunc(IEnumerable(MemberAccessor)) Returns GetHashCode function for provided members for type T to compare.
  Back to Top

See Also

Reference

CodeJam.Collections Namespace

Clone this wiki locally