Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/11 12:56:21 (13 years ago)
Author:
ascheibe
Message:

#1233

  • added missing partial classes for dtos
  • simplified dtos in Services.Hive.Common
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/StateLog.cs

    r5602 r5614  
    2020#endregion
    2121
    22 using HeuristicLab.Core;
     22using HeuristicLab.Common;
    2323
    2424namespace HeuristicLab.Clients.Hive {
    2525
    26   [Item("StateLog", "An entry in a log containing information for a job.")]
    27   public partial class StateLog {
     26  public partial class StateLog : IContent, IDeepCloneable {
    2827
    2928    public StateLog() { }
    3029
     30    protected StateLog(StateLog original, Cloner cloner) {
     31      this.DateTime = original.DateTime;
     32      this.UserId = original.UserId;
     33      this.SlaveId = original.SlaveId;
     34      this.Exception = original.Exception;
     35      this.State = original.State;
     36      this.JobId = original.JobId;
     37      this.Id = original.Id;
     38    }
     39
     40    public IDeepCloneable Clone(Cloner cloner) {
     41      return new StateLog(this, cloner);
     42    }
     43
     44    public object Clone() {
     45      return Clone(new Cloner());
     46    }
    3147  }
    3248}
Note: See TracChangeset for help on using the changeset viewer.