comparison Implab/IServiceLocator.cs @ 69:48763f3b5db8

service locator refactoring
author cin
date Thu, 28 Aug 2014 19:38:39 +0400
parents fe33f4e02ad5
children
comparison
equal deleted inserted replaced
68:9dd6a896a385 69:48763f3b5db8
6 6
7 namespace Implab { 7 namespace Implab {
8 public interface IServiceLocator: IServiceProvider { 8 public interface IServiceLocator: IServiceProvider {
9 T GetService<T>(); 9 T GetService<T>();
10 bool TryGetService<T>(out T service); 10 bool TryGetService<T>(out T service);
11 bool TryGetService (Type serviceType, out object service);
11 } 12 }
12 } 13 }