Click or drag to resize
DigitalRuneServiceContainerUnregister Method (Type, String)
Unregisters the service with the specified name.

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,
	string key
)

Parameters

serviceType
Type: SystemType
The type of service to be removed.
key
Type: SystemString
The name the object was registered with. Can be or empty.
Exceptions
ExceptionCondition
ArgumentNullExceptionserviceType is .
See Also