Changeset 3164
- Timestamp:
- 03/22/10 10:33:44 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.OneMax.Views/3.3/OneMaxProblemView.Designer.cs
r3163 r3164 1 1 namespace HeuristicLab.Problems.OneMax.Views { 2 partial class OneMax View {2 partial class OneMaxProblemView { 3 3 /// <summary> 4 4 /// Required designer variable. -
trunk/sources/HeuristicLab.Problems.OneMax.Views/3.3/OneMaxProblemView.cs
r3163 r3164 10 10 11 11 namespace HeuristicLab.Problems.OneMax.Views { 12 [View("OneMax View")]13 [Content(typeof(OneMax ), true)]14 public partial class OneMax View : ProblemView {15 public new OneMax Content {16 get { return (OneMax )base.Content; }12 [View("OneMaxProblem View")] 13 [Content(typeof(OneMaxProblem), true)] 14 public partial class OneMaxProblemView : ProblemView { 15 public new OneMaxProblem Content { 16 get { return (OneMaxProblem)base.Content; } 17 17 set { base.Content = value; } 18 18 } … … 21 21 /// Initializes a new instance of <see cref="ItemBaseView"/>. 22 22 /// </summary> 23 public OneMax View() {23 public OneMaxProblemView() { 24 24 InitializeComponent(); 25 25 } … … 28 28 /// </summary> 29 29 /// <param name="item">The item that should be displayed.</param> 30 public OneMax View(OneMaxcontent)30 public OneMaxProblemView(OneMaxProblem content) 31 31 : this() { 32 32 Content = content; -
trunk/sources/HeuristicLab.Problems.OneMax/3.3/OnemaxProblem.cs
r3163 r3164 34 34 35 35 namespace HeuristicLab.Problems.OneMax { 36 [Item("OneMax ", "Represents a OneMax Problem.")]36 [Item("OneMaxProblem", "Represents a OneMax Problem.")] 37 37 [Creatable("Problems")] 38 38 [StorableClass] 39 public sealed class OneMax : ParameterizedNamedItem, ISingleObjectiveProblem {39 public sealed class OneMaxProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 40 40 public override Image ItemImage { 41 41 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } … … 116 116 #endregion 117 117 118 public OneMax ()118 public OneMaxProblem() 119 119 : base() { 120 120 RandomBinaryVectorCreator creator = new RandomBinaryVectorCreator(); … … 137 137 138 138 [StorableConstructor] 139 private OneMax (bool deserializing) : base() { }139 private OneMaxProblem(bool deserializing) : base() { } 140 140 141 141 public override IDeepCloneable Clone(Cloner cloner) { 142 OneMax clone = (OneMax)base.Clone(cloner);142 OneMaxProblem clone = (OneMaxProblem)base.Clone(cloner); 143 143 clone.Initialize(); 144 144 return clone;
Note: See TracChangeset
for help on using the changeset viewer.