EntityFrameworkServiceCollectionExtensionsTest EntityFrameworkServiceCollectionExtensionsTest Class

Definition

public abstract class EntityFrameworkServiceCollectionExtensionsTest : IDisposable
Public MustInherit Class EntityFrameworkServiceCollectionExtensionsTest
    Implements IDisposable
Inheritance
System.ObjectSystem.Object
EntityFrameworkServiceCollectionExtensionsTestEntityFrameworkServiceCollectionExtensionsTest
Implements
System.IDisposableSystem.IDisposable

Constructors

EntityFrameworkServiceCollectionExtensionsTest(TestHelpers) EntityFrameworkServiceCollectionExtensionsTest(TestHelpers)

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

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

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

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

ToString() ToString()

Inherited from System.Object

VerifyOptionalScoped() VerifyOptionalScoped(Of TService)()

protected TService VerifyOptionalScoped<TService>()where TService : class
Protected Function VerifyOptionalScoped(Of TService As Class) As TService
Type Parameters
TService
Returns
TService TService

VerifyOptionalSingleton() VerifyOptionalSingleton(Of TService)()

protected TService VerifyOptionalSingleton<TService>()where TService : class
Protected Function VerifyOptionalSingleton(Of TService As Class) As TService
Type Parameters
TService
Returns
TService TService

VerifyScoped(Int32, Boolean) VerifyScoped(Of TService)(Int32, Boolean)

protected TService VerifyScoped<TService>(int count = 1, bool isExistingReplaced = false)where TService : class
Protected Function VerifyScoped(Of TService As Class)(count As Integer = 1, isExistingReplaced As Boolean = False) As TService
Type Parameters
TService
Parameters
count
System.Int32 System.Int32
isExistingReplaced
System.Boolean System.Boolean
Returns
TService TService

VerifySingleton(Boolean) VerifySingleton(Of TService)(Boolean)

protected TService VerifySingleton<TService>(bool isExistingReplaced = false)where TService : class
Protected Function VerifySingleton(Of TService As Class)(isExistingReplaced As Boolean = False) As TService
Type Parameters
TService
Parameters
isExistingReplaced
System.Boolean System.Boolean
Returns
TService TService