|
FrameIT
|
IEqualityComparer<T> for a collection. More...
Public Member Functions | |
| CollectionComparer (IEqualityComparer< TElement > elementComparer=null) | |
| Initialize with a specific element comparer. More... | |
| bool | Equals (ICollection< TElement > x, ICollection< TElement > y) |
| Determines whether the specified objects are equal. More... | |
| int | GetHashCode (ICollection< TElement > obj) |
| Returns a hash code for the specified object. More... | |
Properties | |
| static CollectionComparer< TElement > | Default = new CollectionComparer<TElement>() [get] |
| Gets an instance using EqualityComparer<T>.Default as the element comparer. More... | |
Private Attributes | |
| readonly IEqualityComparer< TElement > | _elementComparer |
IEqualityComparer<T> for a collection.
| REST_JSON_API.CollectionComparer< TElement >.CollectionComparer | ( | IEqualityComparer< TElement > | elementComparer = null | ) |
Initialize with a specific element comparer.
| bool REST_JSON_API.CollectionComparer< TElement >.Equals | ( | ICollection< TElement > | x, |
| ICollection< TElement > | y | ||
| ) |
Determines whether the specified objects are equal.
| int REST_JSON_API.CollectionComparer< TElement >.GetHashCode | ( | ICollection< TElement > | obj | ) |
Returns a hash code for the specified object.
| obj | The T:System.Object for which a hash code is to be returned. |
|
private |
|
staticget |
Gets an instance using EqualityComparer<T>.Default as the element comparer.