Click or drag to resize
DigitalRuneServiceContainerGetService Method
Gets the service instance of the specified type.

Namespace: DigitalRune.ServiceLocation
Assembly: DigitalRune.ServiceLocation (in DigitalRune.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.13596)
Syntax
public Object GetService(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
An object that specifies the type of service object to get.

Return Value

Type: Object
A service instance of type serviceType. Or if there is no service instance of type serviceType.

Implements

IServiceProviderGetService(Type)
See Also