ServiceHelper.LocateService Method |
Name | Description | |
---|---|---|
![]() ![]() | LocateService(Type, Object) |
Convenience method for implementing IServiceProvider objects.
If candidate is an instance of serviceType,
returns candidate, otherwise returns null.
|
![]() ![]() | LocateService<T>(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 null.
|
![]() ![]() | LocateService<T>(Type, Object, IEnumerable<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 null.
|