ImmutableArrayExtensions::SequenceEqual<TDerived, TBase> Method (ImmutableArray<TBase>, ImmutableArray<TDerived>, IEqualityComparer<TBase>^)
Determines whether two sequences are equal according to an equality comparer.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
public: generic<typename TDerived, typename TBase> where TDerived : TBase [ExtensionAttribute] static bool SequenceEqual( ImmutableArray<TBase> immutableArray, ImmutableArray<TDerived> items, IEqualityComparer<TBase>^ comparer = null )
Parameters
- immutableArray
-
Type:
System.Collections.Immutable::ImmutableArray<TBase>
The array to use for comparison.
- items
-
Type:
System.Collections.Immutable::ImmutableArray<TDerived>
The items to use for comparison.
- comparer
-
Type:
System.Collections.Generic::IEqualityComparer<TBase>^
The comparer to use to check for equality.
Type Parameters
- TDerived
The type of element in the compared array.
- TBase
The type of element contained by the collection.
Show: