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.SequencedCollectionEqualityComparer< T, W > Class Template Reference

Prototype for a sequenced equalityComparer for something (T) that implements ISequenced[W]. This will use ISequenced[W] specific implementations of the equality comparer operations. More...

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

Public Member Functions

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

Properties

static SequencedCollectionEqualityComparer< T, W > Default [get]
 

Detailed Description

Prototype for a sequenced equalityComparer for something (T) that implements ISequenced[W]. This will use ISequenced[W] specific implementations of the equality comparer operations.

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

Member Function Documentation

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

Check if two items are equal with respect to this sequenced equalityComparer

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

Get the hash code with respect to this sequenced equalityComparer

Parameters
collectionThe collection
Returns
The hash code

Property Documentation


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