EnumerableExtensions EnumerableExtensions Class

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.

Syntax

Declaration

public static class EnumerableExtensionsPublic Module EnumerableExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • EnumerableExtensions
    EnumerableExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

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.

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.

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.

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.

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.

Methods

  • Distinct<T>(IEnumerable<T>, Func<T, T, Boolean>)
    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)

    Parameters

    • source
      System.Collections.Generic.IEnumerable<T><T>
      System.Collections.Generic.IEnumerable<T>(Of T)
    • comparer
      System.Func<T1, T2, TResult><T, T, System.Boolean>
      System.Func<T1, T2, TResult>(Of T, T, System.Boolean)

    Returns

    • System.Collections.Generic.IEnumerable<T><T>
      System.Collections.Generic.IEnumerable<T>(Of T)
  • Join(IEnumerable<Object>, 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<T><System.Object>
      System.Collections.Generic.IEnumerable<T>(Of System.Object)
    • separator
      System.String
      System.String

    Returns

    • System.String
      System.String
  • OrderByOrdinal<TSource>(IEnumerable<TSource>, Func<TSource, String>)
    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)

    Parameters

    • source
      System.Collections.Generic.IEnumerable<T><TSource>
      System.Collections.Generic.IEnumerable<T>(Of TSource)
    • keySelector
      System.Func<T, TResult><TSource, System.String>
      System.Func<T, TResult>(Of TSource, System.String)

    Returns

    • System.Linq.IOrderedEnumerable<TElement><TSource>
      System.Linq.IOrderedEnumerable<TElement>(Of TSource)
  • StartsWith<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
    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

    Parameters

    • first
      System.Collections.Generic.IEnumerable<T><TSource>
      System.Collections.Generic.IEnumerable<T>(Of TSource)
    • second
      System.Collections.Generic.IEnumerable<T><TSource>
      System.Collections.Generic.IEnumerable<T>(Of TSource)

    Returns

    • System.Boolean
      System.Boolean
  • StructuralSequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
    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

    Parameters

    • first
      System.Collections.Generic.IEnumerable<T><TSource>
      System.Collections.Generic.IEnumerable<T>(Of TSource)
    • second
      System.Collections.Generic.IEnumerable<T><TSource>
      System.Collections.Generic.IEnumerable<T>(Of TSource)

    Returns

    • System.Boolean
      System.Boolean

Details

Assembly

Microsoft.EntityFrameworkCore.dll