annotate Implab/IServiceLocator.cs @ 212:a01d9df88d74
v2
Added class Trace<T> to manage channels for individual classes, if SomeClass
uses Trace<SomeClass> it sould be marked with TraceSourceAttribute
author |
cin |
date |
Tue, 04 Apr 2017 12:04:05 +0300 |
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 }
|