IServiceCollectionExtensions Class
Namespace
Statiq.Common
Base Types
  • object
IServiceCollectionExtensions
object

Syntax

public static class IServiceCollectionExtensions

Methods

Name Return Value Summary
GetImplementationInstance<TService>(IServiceCollection) TService
Gets the registered singleton instance for the given type, if and only if an instance was registered. If the registration is factory-based or for a different type, null will be returned.
static
GetRequiredImplementationInstance<TService>(IServiceCollection) TService
Gets the registered singleton instance for the given type, if and only if an instance was registered. If the registration is factory-based or for a different type, null will be returned.
static