ServiceHelperLocateService Method |
Name | Description | |
---|---|---|
LocateService(Type, Object) |
Convenience method for implementing IServiceProvider objects.
If candidate is an instance of serviceType,
returns candidate, otherwise returns .
| |
LocateServiceT(Type, Object, T) |
Convenience method for implementing IServiceProvider objects.
If candidate is an instance of serviceType, returns candidate.
Otherwise, checks additional IServiceProvider objects for any that return a non-null result for serviceType.
Otherwise, returns .
| |
LocateServiceT(Type, Object, IEnumerableT) |
Convenience method for implementing IServiceProvider objects.
If candidate is an instance of serviceType, returns candidate.
Otherwise, checks additional IServiceProvider objects for any that return a non-null result for serviceType.
Otherwise, returns .
|