- Timestamp:
- 11/06/10 01:56:04 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Analysis/3.3/DataRowVisualProperties.cs
r4648 r4722 21 21 22 22 using System.ComponentModel; 23 using System.Drawing; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using System.Drawing;26 26 27 27 namespace HeuristicLab.Analysis { … … 104 104 #endregion 105 105 106 #region Storing & Cloning 107 [StorableConstructor] 108 protected DataRowVisualProperties(bool deserializing) : base() { } 109 protected DataRowVisualProperties(DataRowVisualProperties original, Cloner cloner) 110 : base(original, cloner) { 111 this.chartType = original.chartType; 112 this.secondYAxis = original.secondYAxis; 113 this.color = original.color; 114 this.startIndexZero = original.startIndexZero; 115 } 116 public override IDeepCloneable Clone(Cloner cloner) { 117 return new DataRowVisualProperties(this, cloner); 118 } 119 #endregion 106 120 public DataRowVisualProperties() { 107 121 chartType = DataRowChartType.Line; … … 116 130 this.startIndexZero = startIndexZero; 117 131 } 118 [StorableConstructor]119 protected DataRowVisualProperties(bool deserializing) { }120 121 public override IDeepCloneable Clone(Cloner cloner) {122 DataRowVisualProperties clone = (DataRowVisualProperties)base.Clone(cloner);123 clone.chartType = chartType;124 clone.secondYAxis = secondYAxis;125 clone.color = color;126 clone.startIndexZero = startIndexZero;127 return clone;128 }129 132 130 133 public event PropertyChangedEventHandler PropertyChanged;
Note: See TracChangeset
for help on using the changeset viewer.