Suoranta.EnterpriseLib.Web - Developer API

ServiceConfiguratorExtensions..::..ForwardSingleton Method (IServiceCollection, Type)

Forwards requests for the type to Ninject.

Namespace:  Suoranta.EnterpriseLib.Web.Util
Assembly:  Suoranta.EnterpriseLib.Web (in Suoranta.EnterpriseLib.Web.dll)

Syntax


public static void ForwardSingleton(
	this IServiceCollection collection,
	Type type
)

Parameters

collection
Type: IServiceCollection
The collection.
type
Type: Type