Mercurial > pub > ImplabNet
diff Implab/Components/IServiceLocator.cs @ 250:9f63dade3a40 v3
Working on runnable component
| author | cin |
|---|---|
| date | Thu, 01 Feb 2018 02:43:35 +0300 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Implab/Components/IServiceLocator.cs Thu Feb 01 02:43:35 2018 +0300 @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Implab.Components { + public interface IServiceLocator: IServiceProvider { + T GetService<T>(); + bool TryGetService<T>(out T service); + bool TryGetService (Type serviceType, out object service); + } +}
