IServiceLocator.cs
13 lines
| 362 B
| text/x-csharp
|
CSharpLexer
cin
|
r289 | 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); | ||||
} | ||||
} | ||||