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
)
Public Overridable Function GetService (
serviceType As Type
) As Object
Parameters
- serviceType
- Type: SystemType
Type of the service.
Return Value
Type:
ObjectThe single instance if resolved; otherwise,
null.
See Also