- Timestamp:
- 09/21/10 06:29:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB/HeuristicLab.Clients.OKB-3.3/ServiceClients/Platform.cs
r4441 r4456 20 20 #endregion 21 21 22 using System.ComponentModel;23 using HeuristicLab.Common;24 22 using HeuristicLab.Core; 25 23 26 24 namespace HeuristicLab.Clients.OKB { 27 25 [Item("Platform", "An OKB platform.")] 28 public partial class Platform : INamedOKBItem{26 public partial class Platform { 29 27 public Platform() { 30 28 Name = "New Platform"; 31 29 } 32 33 public override IDeepCloneable Clone(Cloner cloner) {34 Platform clone = new Platform();35 cloner.RegisterClonedObject(this, clone);36 clone.Id = Id;37 clone.Name = Name;38 clone.Description = Description;39 return clone;40 }41 42 public override string ToString() {43 return Name;44 }45 46 protected override void OnPropertyChanged(PropertyChangedEventArgs e) {47 base.OnPropertyChanged(e);48 if (e.PropertyName == "Name")49 OnToStringChanged();50 }51 30 } 52 31 }
Note: See TracChangeset
for help on using the changeset viewer.