annotate Implab/Components/IServiceLocator.cs @ 280:f07be402ab02
v3
Added Trace<T>.Debug(...) method for debug messages
Added ContainerBuilde.LoadConfig(Uri) method
author |
cin |
date |
Fri, 25 May 2018 19:15:26 +0300 |
parents |
9f63dade3a40 |
children |
|
rev |
line source |
250
|
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.Components {
|
|
8 public interface IServiceLocator: IServiceProvider {
|
|
9 T GetService<T>();
|
|
10 bool TryGetService<T>(out T service);
|
|
11 bool TryGetService (Type serviceType, out object service);
|
|
12 }
|
|
13 }
|