annotate Implab/IServiceLocator.cs @ 68:9dd6a896a385
ServiceLocator: small refactoring, GetService method is made virtual
author |
cin |
date |
Thu, 28 Aug 2014 02:28:00 +0400 |
parents |
fe33f4e02ad5 |
children |
48763f3b5db8 |
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);
|
|
11 }
|
|
12 }
|