Table of Contents

Class KeyItemCollectionExtensions

Namespace
Loehnert.Utility.Collections
Assembly
Loehnert.Utility.dll

Class contains extensions for the KeyItemCollection<T> class.

public static class KeyItemCollectionExtensions
Inheritance
KeyItemCollectionExtensions
Inherited Members

Methods

CollectionEquals<T>(KeyItemCollection<T>, KeyItemCollection<T>)

Checks the equality of two KeyItemCollection<T> objects. The order of the items in the collections is ignored.

public static bool CollectionEquals<T>(this KeyItemCollection<T> items, KeyItemCollection<T> other) where T : IEquatable<T>, IHasKey

Parameters

items KeyItemCollection<T>

Collection to compare with other.

other KeyItemCollection<T>

Other collection to compare.

Returns

bool

A value indicating whether the collections are equal.

Type Parameters

T

Type of collection items.