EnumerableExtensions EnumerableExtensions Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static class EnumerableExtensions
Public Module EnumerableExtensions
Inheritance
System.ObjectSystem.Object
EnumerableExtensionsEnumerableExtensions

Methods

Distinct(IEnumerable, Func) Distinct(Of T)(IEnumerable(Of T), Func(Of T, T, Boolean))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static IEnumerable<T> Distinct<T>(this IEnumerable<T> source, Func<T, T, bool> comparer)where T : class
<ExtensionAttribute>
Public Shared Function Distinct(Of T As Class)(source As IEnumerable(Of T), comparer As Func(Of T, T, Boolean)) As IEnumerable(Of T)
Type Parameters
T
Parameters
source
System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IEnumerable(Of T)
comparer
System.Func<T, T, System.Boolean> System.Func(Of T, T, System.Boolean)
Returns
System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IEnumerable(Of T)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

Join(IEnumerable, String) Join(IEnumerable(Of Object), String)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static string Join(this IEnumerable<object> source, string separator = ", ")
<ExtensionAttribute>
Public Shared Function Join(source As IEnumerable(Of Object), separator As String = ", ") As String
Parameters
source
System.Collections.Generic.IEnumerable<System.Object> System.Collections.Generic.IEnumerable(Of System.Object)
separator
System.String System.String
Returns
System.String System.String

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OrderByOrdinal(IEnumerable, Func) OrderByOrdinal(Of TSource)(IEnumerable(Of TSource), Func(Of TSource, String))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static IOrderedEnumerable<TSource> OrderByOrdinal<TSource>(this IEnumerable<TSource> source, Func<TSource, string> keySelector)
<ExtensionAttribute>
Public Shared Function OrderByOrdinal(Of TSource)(source As IEnumerable(Of TSource), keySelector As Func(Of TSource, String)) As IOrderedEnumerable(Of TSource)
Type Parameters
TSource
Parameters
source
System.Collections.Generic.IEnumerable<TSource> System.Collections.Generic.IEnumerable(Of TSource)
keySelector
System.Func<TSource, System.String> System.Func(Of TSource, System.String)
Returns
System.Linq.IOrderedEnumerable<TSource> System.Linq.IOrderedEnumerable(Of TSource)

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

StartsWith(IEnumerable, IEnumerable) StartsWith(Of TSource)(IEnumerable(Of TSource), IEnumerable(Of TSource))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static bool StartsWith<TSource>(this IEnumerable<TSource> first, IEnumerable<TSource> second)
<ExtensionAttribute>
Public Shared Function StartsWith(Of TSource)(first As IEnumerable(Of TSource), second As IEnumerable(Of TSource)) As Boolean
Type Parameters
TSource
Parameters
first
System.Collections.Generic.IEnumerable<TSource> System.Collections.Generic.IEnumerable(Of TSource)
second
System.Collections.Generic.IEnumerable<TSource> System.Collections.Generic.IEnumerable(Of TSource)
Returns
System.Boolean System.Boolean

StructuralSequenceEqual(IEnumerable, IEnumerable) StructuralSequenceEqual(Of TSource)(IEnumerable(Of TSource), IEnumerable(Of TSource))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static bool StructuralSequenceEqual<TSource>(this IEnumerable<TSource> first, IEnumerable<TSource> second)
<ExtensionAttribute>
Public Shared Function StructuralSequenceEqual(Of TSource)(first As IEnumerable(Of TSource), second As IEnumerable(Of TSource)) As Boolean
Type Parameters
TSource
Parameters
first
System.Collections.Generic.IEnumerable<TSource> System.Collections.Generic.IEnumerable(Of TSource)
second
System.Collections.Generic.IEnumerable<TSource> System.Collections.Generic.IEnumerable(Of TSource)
Returns
System.Boolean System.Boolean

ToString() ToString()

Inherited from System.Object