IServiceLocator.cs
13 lines
| 351 B
| text/x-csharp
|
CSharpLexer
/ Implab / IServiceLocator.cs
cin
|
r40 | using System; | ||
using System.Collections.Generic; | ||||
using System.Linq; | ||||
using System.Text; | ||||
using System.Threading.Tasks; | ||||
namespace Implab { | ||||
public interface IServiceLocator: IServiceProvider { | ||||
T GetService<T>(); | ||||
bool TryGetService<T>(out T service); | ||||
cin
|
r69 | bool TryGetService (Type serviceType, out object service); | ||
cin
|
r40 | } | ||
} | ||||