Click or drag to resize
DigitalRuneServiceLocatorImplBaseDoGetInstance Method
When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.

Namespace: Microsoft.Practices.ServiceLocation
Assembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
protected abstract Object DoGetInstance(
	Type serviceType,
	string key
)

Parameters

serviceType
Type: SystemType
Type of instance requested.
key
Type: SystemString
Name of registered service you want. May be null.

Return Value

Type: Object
The requested service instance.
See Also