- Timestamp:
- 05/13/19 13:59:30 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Parameters/3.3/ValueParameter.cs
r16723 r16946 22 22 using System; 23 23 using System.Reflection; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; 26 using HEAL.Attic;27 27 28 28 namespace HeuristicLab.Parameters { … … 47 47 public ValueParameter() : base() { } 48 48 public ValueParameter(string name) : base(name) { base.Value = CreateDefaultValue(); } 49 public ValueParameter(string name, bool getsCollected) : base(name, getsCollected) { base.Value = CreateDefaultValue(); }50 49 public ValueParameter(string name, T value) : base(name, value) { } 51 public ValueParameter(string name, T value, bool getsCollected) : base(name, value, getsCollected) { }52 50 public ValueParameter(string name, string description) : base(name, description) { base.Value = CreateDefaultValue(); } 53 public ValueParameter(string name, string description, bool getsCollected) : base(name, description, getsCollected) { base.Value = CreateDefaultValue(); }54 51 public ValueParameter(string name, string description, T value) : base(name, description, value) { } 55 public ValueParameter(string name, string description, T value, bool getsCollected) : base(name, description, value, getsCollected) { } 56 52 57 53 protected T CreateDefaultValue() { 58 54 Type type = typeof(T);
Note: See TracChangeset
for help on using the changeset viewer.