EntityFrameworkServiceCollectionExtensionsTest EntityFrameworkServiceCollectionExtensionsTest Class

Syntax

Declaration

public abstract class EntityFrameworkServiceCollectionExtensionsTest : IDisposablePublic MustInherit Class EntityFrameworkServiceCollectionExtensionsTest
    Implements IDisposable

Inheritance Hierarchy

  • System.Object
    System.Object
  • EntityFrameworkServiceCollectionExtensionsTest
    EntityFrameworkServiceCollectionExtensionsTest

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()

Constructors summary

Methods summary

Constructors

  • EntityFrameworkServiceCollectionExtensionsTest(TestHelpers)
    EntityFrameworkServiceCollectionExtensionsTest(TestHelpers)
    protected EntityFrameworkServiceCollectionExtensionsTest(TestHelpers testHelpers)Protected Sub New(testHelpers As TestHelpers)

    Parameters

Methods

  • AssertServicesSame(IServiceCollection, IServiceCollection)
    AssertServicesSame(IServiceCollection, IServiceCollection)
    protected virtual void AssertServicesSame(IServiceCollection services1, IServiceCollection services2)Protected Overridable Sub AssertServicesSame(services1 As IServiceCollection, services2 As IServiceCollection)

    Parameters

    • services1
      IServiceCollection
      IServiceCollection
    • services2
      IServiceCollection
      IServiceCollection
  • Dispose()
    Dispose()
    public void Dispose()Public Sub Dispose
  • Repeated_calls_to_add_do_not_modify_collection()
    Repeated_calls_to_add_do_not_modify_collection()
    public virtual void Repeated_calls_to_add_do_not_modify_collection()Public Overridable Sub Repeated_calls_to_add_do_not_modify_collection
  • Services_wire_up_correctly()
    Services_wire_up_correctly()
    public virtual void Services_wire_up_correctly()Public Overridable Sub Services_wire_up_correctly
  • VerifyOptionalScoped<TService>()
    VerifyOptionalScoped(Of TService)()
    protected TService VerifyOptionalScoped<TService>()where TService : classProtected Function VerifyOptionalScoped(Of TService As Class) As TService

    Returns

    • TService
      TService
  • VerifyOptionalSingleton<TService>()
    VerifyOptionalSingleton(Of TService)()
    protected TService VerifyOptionalSingleton<TService>()where TService : classProtected Function VerifyOptionalSingleton(Of TService As Class) As TService

    Returns

    • TService
      TService
  • VerifyScoped<TService>(Int32, Boolean)
    VerifyScoped(Of TService)(Int32, Boolean)
    protected TService VerifyScoped<TService>(int count = 1, bool isExistingReplaced = false)where TService : classProtected Function VerifyScoped(Of TService As Class)(count As Integer = 1, isExistingReplaced As Boolean = False) As TService

    Parameters

    • count
      System.Int32
      System.Int32
    • isExistingReplaced
      System.Boolean
      System.Boolean

    Returns

    • TService
      TService
  • VerifySingleton<TService>(Boolean)
    VerifySingleton(Of TService)(Boolean)
    protected TService VerifySingleton<TService>(bool isExistingReplaced = false)where TService : classProtected Function VerifySingleton(Of TService As Class)(isExistingReplaced As Boolean = False) As TService

    Parameters

    • isExistingReplaced
      System.Boolean
      System.Boolean

    Returns

    • TService
      TService

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll