- Timestamp:
- 09/16/19 16:12:21 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Data/3.3/TextValue.cs
r17226 r17253 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 using HEAL.Attic;25 25 26 26 namespace HeuristicLab.Data { … … 29 29 public class TextValue : StringValue, ITextValue { 30 30 31 public TextValue() { 32 this.value = string.Empty; 33 this.readOnly = false; 34 } 35 36 public TextValue(string value) { 37 this.value = value ?? string.Empty; 38 this.readOnly = false; 39 } 31 public TextValue() : base() { } 32 public TextValue(string value, bool @readonly = false) : base(value ?? string.Empty, @readonly) { } 40 33 41 34 [StorableConstructor] 42 35 protected TextValue(StorableConstructorFlag _) : base(_) { } 43 36 44 protected TextValue(TextValue original, Cloner cloner) 45 : base(original, cloner) { 46 this.value = original.value ?? string.Empty; 47 this.readOnly = original.readOnly; 48 } 37 protected TextValue(TextValue original, Cloner cloner) : base(original, cloner) { } 49 38 50 39 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.