Click or drag to resize

AutofacDependencyResolverGetService Method

Get a single instance of a service.

Namespace:  Autofac.Integration.SignalR
Assembly:  Autofac.Integration.SignalR (in Autofac.Integration.SignalR.dll) Version: 3.0.0.0 (3.0.2.0)
Syntax
public virtual Object GetService(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
Type of the service.

Return Value

Type: Object
The single instance if resolved; otherwise, null.
See Also