ImmutableArrayExtensions.SequenceEqual Método

Definición

Sobrecargas

SequenceEqual<TDerived,TBase>(ImmutableArray<TBase>, IEnumerable<TDerived>, IEqualityComparer<TBase>)

Determina si dos secuencias son iguales según un comparador de igualdad.

SequenceEqual<TDerived,TBase>(ImmutableArray<TBase>, ImmutableArray<TDerived>, IEqualityComparer<TBase>)

Determina si dos secuencias son iguales según un comparador de igualdad.

SequenceEqual<TDerived,TBase>(ImmutableArray<TBase>, ImmutableArray<TDerived>, Func<TBase,TBase,Boolean>)

Determina si dos secuencias son iguales según un comparador de igualdad.

SequenceEqual<TDerived,TBase>(ImmutableArray<TBase>, IEnumerable<TDerived>, IEqualityComparer<TBase>)

Source:
ImmutableArrayExtensions.cs
Source:
ImmutableArrayExtensions.cs
Source:
ImmutableArrayExtensions.cs

Determina si dos secuencias son iguales según un comparador de igualdad.

public static bool SequenceEqual<TDerived,TBase> (this System.Collections.Immutable.ImmutableArray<TBase> immutableArray, System.Collections.Generic.IEnumerable<TDerived> items, System.Collections.Generic.IEqualityComparer<TBase> comparer = default) where TDerived : TBase;
public static bool SequenceEqual<TDerived,TBase> (this System.Collections.Immutable.ImmutableArray<TBase> immutableArray, System.Collections.Generic.IEnumerable<TDerived> items, System.Collections.Generic.IEqualityComparer<TBase>? comparer = default) where TDerived : TBase;
static member SequenceEqual : System.Collections.Immutable.ImmutableArray<'Base> * seq<#'Base> * System.Collections.Generic.IEqualityComparer<'Base> -> bool
<Extension()>
Public Function SequenceEqual(Of TDerived As TBase, TBase As TBase) (immutableArray As ImmutableArray(Of TBase), items As IEnumerable(Of TDerived), Optional comparer As IEqualityComparer(Of TBase) = Nothing) As Boolean

Parámetros de tipo

TDerived

Tipo de elemento de la matriz comparada.

TBase

Tipo de elemento incluido en la colección.

Parámetros

immutableArray
ImmutableArray<TBase>

Matriz que se va a utilizar para la comparación.

items
IEnumerable<TDerived>

Elementos que se van a utilizar para la comparación.

comparer
IEqualityComparer<TBase>

Comparador que se va a utilizar para comprobar la igualdad.

Devoluciones

true para indicar que las secuencias son iguales; de lo contrario, false.

Se aplica a

SequenceEqual<TDerived,TBase>(ImmutableArray<TBase>, ImmutableArray<TDerived>, IEqualityComparer<TBase>)

Source:
ImmutableArrayExtensions.cs
Source:
ImmutableArrayExtensions.cs
Source:
ImmutableArrayExtensions.cs

Determina si dos secuencias son iguales según un comparador de igualdad.

public static bool SequenceEqual<TDerived,TBase> (this System.Collections.Immutable.ImmutableArray<TBase> immutableArray, System.Collections.Immutable.ImmutableArray<TDerived> items, System.Collections.Generic.IEqualityComparer<TBase> comparer = default) where TDerived : TBase;
public static bool SequenceEqual<TDerived,TBase> (this System.Collections.Immutable.ImmutableArray<TBase> immutableArray, System.Collections.Immutable.ImmutableArray<TDerived> items, System.Collections.Generic.IEqualityComparer<TBase>? comparer = default) where TDerived : TBase;
static member SequenceEqual : System.Collections.Immutable.ImmutableArray<'Base> * System.Collections.Immutable.ImmutableArray<#'Base> * System.Collections.Generic.IEqualityComparer<'Base> -> bool
<Extension()>
Public Function SequenceEqual(Of TDerived As TBase, TBase As TBase) (immutableArray As ImmutableArray(Of TBase), items As ImmutableArray(Of TDerived), Optional comparer As IEqualityComparer(Of TBase) = Nothing) As Boolean

Parámetros de tipo

TDerived

Tipo de elemento de la matriz comparada.

TBase

Tipo de elemento incluido en la colección.

Parámetros

immutableArray
ImmutableArray<TBase>

Matriz que se va a utilizar para la comparación.

items
ImmutableArray<TDerived>

Elementos que se van a utilizar para la comparación.

comparer
IEqualityComparer<TBase>

Comparador que se va a utilizar para comprobar la igualdad.

Devoluciones

true para indicar que las secuencias son iguales; de lo contrario, false.

Se aplica a

SequenceEqual<TDerived,TBase>(ImmutableArray<TBase>, ImmutableArray<TDerived>, Func<TBase,TBase,Boolean>)

Source:
ImmutableArrayExtensions.cs
Source:
ImmutableArrayExtensions.cs
Source:
ImmutableArrayExtensions.cs

Determina si dos secuencias son iguales según un comparador de igualdad.

public:
generic <typename TDerived, typename TBase>
 where TDerived : TBase[System::Runtime::CompilerServices::Extension]
 static bool SequenceEqual(System::Collections::Immutable::ImmutableArray<TBase> immutableArray, System::Collections::Immutable::ImmutableArray<TDerived> items, Func<TBase, TBase, bool> ^ predicate);
public static bool SequenceEqual<TDerived,TBase> (this System.Collections.Immutable.ImmutableArray<TBase> immutableArray, System.Collections.Immutable.ImmutableArray<TDerived> items, Func<TBase,TBase,bool> predicate) where TDerived : TBase;
static member SequenceEqual : System.Collections.Immutable.ImmutableArray<'Base> * System.Collections.Immutable.ImmutableArray<#'Base> * Func<'Base, 'Base, bool> -> bool
<Extension()>
Public Function SequenceEqual(Of TDerived As TBase, TBase As TBase) (immutableArray As ImmutableArray(Of TBase), items As ImmutableArray(Of TDerived), predicate As Func(Of TBase, TBase, Boolean)) As Boolean

Parámetros de tipo

TDerived

Tipo de elemento de la matriz comparada.

TBase

Tipo de elemento incluido en la colección.

Parámetros

immutableArray
ImmutableArray<TBase>

Matriz que se va a utilizar para la comparación.

items
ImmutableArray<TDerived>

Elementos que se van a utilizar para la comparación.

predicate
Func<TBase,TBase,Boolean>

Comparador que se va a utilizar para comprobar la igualdad.

Devoluciones

true para indicar que las secuencias son iguales; de lo contrario, false.

Se aplica a