DbContextTest.FakeServiceProvider DbContextTest.FakeServiceProvider Class

Definition

public class FakeServiceProvider : IServiceProvider, IDisposable
Public Class FakeServiceProvider
    Implements IServiceProvider, IDisposable
Inheritance
System.ObjectSystem.Object
DbContextTest.FakeServiceProviderDbContextTest.FakeServiceProvider
Implements
System.IServiceProviderSystem.IServiceProvider System.IDisposableSystem.IDisposable

Constructors

FakeServiceProvider() FakeServiceProvider()

public FakeServiceProvider()
Public Sub New

Properties

Disposed Disposed

public bool Disposed { get; set; }
Public Property Disposed As Boolean
Value
System.Boolean System.Boolean

Methods

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

GetService(Type) GetService(Type)

public object GetService(Type serviceType)
Public Function GetService(serviceType As Type) As Object
Parameters
serviceType
System.Type System.Type
Returns
System.Object System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object