IServiceLocator.cs
12 lines
| 289 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); | ||||
} | ||||
} | ||||