Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/11 14:18:29 (14 years ago)
Author:
ascheibe
Message:

#1233

  • rename 'Slave' namespace to 'SlaveCore' (and assemblies etc) to avoid problems with 'Slave' class
  • use svcutil (OKB-style)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Tests/Mocks/MockServiceLocator.cs

    r5526 r5599  
    11using System;
    22using HeuristicLab.Services.Hive;
    3 using HeuristicLab.Services.Hive.Common.ServiceContracts;
    43
    54namespace HeuristicLab.Clients.Hive.Tests {
    6   public class MockServiceLocator : IServiceLocator {
     5  public class MockServiceLocator {
    76    private string username;
    87    public string Username {
     
    1716    }
    1817
    19     public IHiveService GetService() {
    20       return new HiveService();
     18    public HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService GetService() {
     19      HiveService service = new HeuristicLab.Services.Hive.HiveService();
     20      return service;
    2121    }
    2222
    23     public void CallHiveService(Action<IHiveService> call) {
     23    public void CallHiveService(Action<HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService> call) {
    2424      call(GetService());
    2525    }
    2626
    27     public T CallHiveService<T>(Func<IHiveService, T> call) {
     27    public T CallHiveService<T>(Func<HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService, T> call) {
    2828      return call(GetService());
    2929    }
Note: See TracChangeset for help on using the changeset viewer.