annotate Implab/IServiceLocator.cs @ 76:c761fc982e1d
v2
Refactoring of the IPromise<T> interface
Added tests
author |
cin |
date |
Wed, 10 Sep 2014 17:53:05 +0400 |
parents |
48763f3b5db8 |
children |
|
rev |
line source |
40
|
1 using System;
|
|
2 using System.Collections.Generic;
|
|
3 using System.Linq;
|
|
4 using System.Text;
|
|
5 using System.Threading.Tasks;
|
|
6
|
|
7 namespace Implab {
|
|
8 public interface IServiceLocator: IServiceProvider {
|
|
9 T GetService<T>();
|
|
10 bool TryGetService<T>(out T service);
|
69
|
11 bool TryGetService (Type serviceType, out object service);
|
40
|
12 }
|
|
13 }
|