DbContextTest.FakeServiceProvider DbContextTest.FakeServiceProvider Class

Syntax

Declaration

public class FakeServiceProvider : IServiceProvider, IDisposablePublic Class FakeServiceProvider
    Implements IServiceProvider, IDisposable

Inheritance Hierarchy

  • System.Object
    System.Object
  • DbContextTest.FakeServiceProvider
    DbContextTest.FakeServiceProvider

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

Properties summary

Methods summary

Constructors

  • FakeServiceProvider()
    FakeServiceProvider()
    public FakeServiceProvider()Public Sub New

Properties

  • Disposed
    Disposed
    public bool Disposed { get; set; }Public Property Disposed As Boolean

    Property Value

    • System.Boolean
      System.Boolean

Methods

  • Dispose()
    Dispose()
    public void Dispose()Public Sub Dispose
  • 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

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll