C5  2.4
The C5 Generic Collection Library for C# and CLI is a comprehensive collection library supporting lists, sets, bags, dictionaries, priority queues, (FIFO) queues, and (LIFO) stacks. C5 runs on .NET 3.5+, Silverlight 5, Windows Phone 8, Xamarin.iOS, Xamarin.Android, and Mono.
C5.UnsequencedCollectionEqualityComparer< T, W > Class Template Reference

Prototype for an unsequenced equalityComparer for something (T) that implements ICollection[W] This will use ICollection[W] specific implementations of the equalityComparer operations More...

Inheritance diagram for C5.UnsequencedCollectionEqualityComparer< T, W >:

Public Member Functions

int GetHashCode (T collection)
 Get the hash code with respect to this unsequenced equalityComparer More...
 
bool Equals (T collection1, T collection2)
 Check if two collections are equal with respect to this unsequenced equalityComparer More...
 

Properties

static UnsequencedCollectionEqualityComparer< T, W > Default [get]
 

Detailed Description

Prototype for an unsequenced equalityComparer for something (T) that implements ICollection[W] This will use ICollection[W] specific implementations of the equalityComparer operations

Template Parameters
T
W
Type Constraints
T :ICollection<W> 

Member Function Documentation

bool C5.UnsequencedCollectionEqualityComparer< T, W >.Equals ( collection1,
collection2 
)

Check if two collections are equal with respect to this unsequenced equalityComparer

Parameters
collection1first collection
collection2second collection
Returns
True if equal
int C5.UnsequencedCollectionEqualityComparer< T, W >.GetHashCode ( collection)

Get the hash code with respect to this unsequenced equalityComparer

Parameters
collectionThe collection
Returns
The hash code

Property Documentation


The documentation for this class was generated from the following file: