Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/HiveItemBase.cs @ 5511

Last change on this file since 5511 was 4905, checked in by cneumuel, 14 years ago

#1233

  • added plugin management features
  • took over client-GUI from old branch
  • merged with bugfixes from old branch
  • added hive-web (for IIS)
File size: 686 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Common;
6using System.Runtime.Serialization;
7using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
8
9namespace HeuristicLab.Services.Hive.Common.DataTransfer {
10  [DataContract]
11  [Serializable]
12  public abstract class HiveItemBase : IDeepCloneable {
13    protected HiveItemBase() { }
14    protected HiveItemBase(HiveItemBase original, Cloner cloner) {
15      cloner.RegisterClonedObject(original, this);
16    }
17
18    public abstract IDeepCloneable Clone(Cloner cloner);
19
20    public object Clone() {
21      return Clone(new Cloner());
22    }
23  }
24}
Note: See TracBrowser for help on using the repository browser.