source:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Tests-3.4/Mocks/ServiceLocatorMock.cs
@
5056
Last change on this file since 5056 was 5056, checked in by cneumuel, 13 years ago | |
---|---|
File size: 434 bytes |
Line | |
---|---|
1 | using System; |
2 | using System.Collections.Generic; |
3 | using System.Linq; |
4 | using System.Text; |
5 | using HeuristicLab.Clients.Common; |
6 | using HeuristicLab.Services.Hive.Common.ServiceContracts; |
7 | |
8 | namespace HeuristicLab.Clients.Hive.Slave.Tests { |
9 | internal class ServiceLocatorMock : IServiceLocator { |
10 | |
11 | public Disposable<IHiveService> GetService() { |
12 | return new Disposable<IHiveService>(new HiveServiceMock()); |
13 | } |
14 | } |
15 | } |
Note: See TracBrowser
for help on using the repository browser.