annotate Implab/Components/IServiceLocator.cs @ 255:b00441e04738 v3

Adde workaround to the behaviour of the logical operations stack in conjuction with async/await methods
author cin
date Wed, 04 Apr 2018 15:38:48 +0300
parents 9f63dade3a40
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
250
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
1 using System;
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
2 using System.Collections.Generic;
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
3 using System.Linq;
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
4 using System.Text;
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
5 using System.Threading.Tasks;
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
6
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
7 namespace Implab.Components {
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
8 public interface IServiceLocator: IServiceProvider {
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
9 T GetService<T>();
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
10 bool TryGetService<T>(out T service);
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
11 bool TryGetService (Type serviceType, out object service);
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
12 }
9f63dade3a40 Working on runnable component
cin
parents:
diff changeset
13 }