Click or drag to resize
DigitalRuneServiceContainerUnregister Method (Type)
Unregisters all services of the given service type.

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

Parameters

serviceType
Type: SystemType
The type of service to be removed.
Exceptions
ExceptionCondition
ArgumentNullExceptionserviceType is .
Remarks
The method removes all services (named and unnamed) that match the given type.
See Also