IServiceCollectionExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IServiceCollectionExtensions"] class Type type-node

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