Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/07/10 11:19:33 (14 years ago)
Author:
cneumuel
Message:

#1233

  • added test project
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/HiveExperiment/HiveExperimentManagerClient.cs

    r4905 r5055  
    3232  using HeuristicLab.Common;
    3333  using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     34  using HeuristicLab.Clients.Common;
    3435
    3536  [Item("Hive Client", "Connects to Hive and lists all submitted experiments by the current user.")]
     
    9697          this.HiveExperiments = new ItemList<HiveExperimentClient>();
    9798        }
    98         using (var service = ServiceLocator.Instance.ServicePool.GetService()) {
     99        using (var service = ServiceLocator.Instance.GetService()) {
    99100          currentlyUpdating = true;
    100101          IEnumerable<DT.HiveExperiment> response = service.Obj.GetHiveExperiments();
     
    138139    void hiveExperiments_ItemsRemoved(object sender, Collections.CollectionItemsChangedEventArgs<Collections.IndexedItem<HiveExperimentClient>> e) {
    139140      if (!currentlyUpdating) {
    140         using (Disposable<IHiveService> service = ServiceLocator.Instance.ServicePool.GetService()) {
     141        using (Disposable<IHiveService> service = ServiceLocator.Instance.GetService()) {
    141142          foreach (IndexedItem<HiveExperimentClient> item in e.Items) {
    142143            if (item.Value.HiveExperimentId != Guid.Empty) {
Note: See TracChangeset for help on using the changeset viewer.