ServiceProviderExtensions ServiceProviderExtensions Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public static class ServiceProviderExtensionsPublic Module ServiceProviderExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • ServiceProviderExtensions
    ServiceProviderExtensions

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

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods

  • InjectAdditionalServices<TService>(IServiceProvider, TService)
    InjectAdditionalServices(Of TService)(IServiceProvider, TService)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public static TService InjectAdditionalServices<TService>(this IServiceProvider serviceProvider, TService service)<ExtensionAttribute>
    Public Shared Function InjectAdditionalServices(Of TService)(serviceProvider As IServiceProvider, service As TService) As TService

    Parameters

    • serviceProvider
      System.IServiceProvider
      System.IServiceProvider
    • service
      TService
      TService

    Returns

    • TService
      TService

Details

Assembly

Microsoft.EntityFrameworkCore.dll