Extensions Extensions Class

Syntax

Declaration

public static class ExtensionsPublic Module Extensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • Extensions
    Extensions

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

Methods

  • Clone(IModel)
    Clone(IModel)
    public static IModel Clone(this IModel model)<ExtensionAttribute>
    Public Shared Function Clone(model As IModel) As IModel

    Parameters

    Returns

  • ForEach<T>(IEnumerable<T>, Action<T>)
    ForEach(Of T)(IEnumerable(Of T), Action(Of T))
    public static void ForEach<T>(this IEnumerable<T> this, Action<T> action)<ExtensionAttribute>
    Public Shared Sub ForEach(Of T)(this As IEnumerable(Of T), action As Action(Of T))

    Parameters

    • this
      System.Collections.Generic.IEnumerable<T><T>
      System.Collections.Generic.IEnumerable<T>(Of T)
    • action
      System.Action<T><T>
      System.Action<T>(Of T)
  • NullChecked<T>(IEnumerable<T>)
    NullChecked(Of T)(IEnumerable(Of T))
    public static IEnumerable<T> NullChecked<T>(this IEnumerable<T> enumerable)<ExtensionAttribute>
    Public Shared Function NullChecked(Of T)(enumerable As IEnumerable(Of T)) As IEnumerable(Of T)

    Parameters

    • enumerable
      System.Collections.Generic.IEnumerable<T><T>
      System.Collections.Generic.IEnumerable<T>(Of T)

    Returns

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

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll