Changeset 4719


Ignore:
Timestamp:
11/05/10 02:22:01 (9 years ago)
Author:
swagner
Message:

Restructured code (#922)

Location:
branches/CloningRefactoring
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ConstraintCollection.cs

    r4711 r4719  
    3131    protected ConstraintCollection(bool deserializing) : base(deserializing) { }
    3232    protected ConstraintCollection(ConstraintCollection original, Cloner cloner) : base(original, cloner) { }
    33     public override IDeepCloneable Clone(Cloner cloner) { return new ConstraintCollection(this, cloner); }
    3433    public ConstraintCollection() : base() { }
    3534    public ConstraintCollection(int capacity) : base(capacity) { }
    3635    public ConstraintCollection(IEnumerable<IConstraint> collection) : base(collection) { }
     36
     37    public override IDeepCloneable Clone(Cloner cloner) { return new ConstraintCollection(this, cloner); }
    3738  }
    3839}
  • branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorCollection.cs

    r4711 r4719  
    3131    protected OperatorCollection(bool deserializing) : base(deserializing) { }
    3232    protected OperatorCollection(OperatorCollection original, Cloner cloner) : base(original, cloner) { }
    33     public override IDeepCloneable Clone(Cloner cloner) { return new OperatorCollection(this, cloner); }
    3433    public OperatorCollection() : base() { }
    3534    public OperatorCollection(IEnumerable<IOperator> collection) : base(collection) { }
     35
     36    public override IDeepCloneable Clone(Cloner cloner) { return new OperatorCollection(this, cloner); }
    3637  }
    3738}
  • branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorList.cs

    r4711 r4719  
    3131    protected OperatorList(bool deserializing) : base(deserializing) { }
    3232    protected OperatorList(OperatorList original, Cloner cloner) : base(original, cloner) { }
    33     public override IDeepCloneable Clone(Cloner cloner) { return new OperatorList(this, cloner); }
    3433    public OperatorList() : base() { }
    3534    public OperatorList(int capacity) : base(capacity) { }
    3635    public OperatorList(IEnumerable<IOperator> collection) : base(collection) { }
     36
     37    public override IDeepCloneable Clone(Cloner cloner) { return new OperatorList(this, cloner); }
    3738  }
    3839}
  • branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorSet.cs

    r4711 r4719  
    3131    protected OperatorSet(bool deserializing) : base(deserializing) { }
    3232    protected OperatorSet(OperatorSet original, Cloner cloner) : base(original, cloner) { }
    33     public override IDeepCloneable Clone(Cloner cloner) { return new OperatorSet(this, cloner); }
    3433    public OperatorSet() : base() { }
    3534    public OperatorSet(IEnumerable<IOperator> collection) : base(collection) { }
     35
     36    public override IDeepCloneable Clone(Cloner cloner) { return new OperatorSet(this, cloner); }
    3637  }
    3738}
  • branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ParameterCollection.cs

    r4711 r4719  
    3131    protected ParameterCollection(bool deserializing) : base(deserializing) { }
    3232    protected ParameterCollection(ParameterCollection original, Cloner cloner) : base(original, cloner) { }
    33     public override IDeepCloneable Clone(Cloner cloner) { return new ParameterCollection(this, cloner); }
    34 
    3533    public ParameterCollection() : base() { }
    3634    public ParameterCollection(int capacity) : base(capacity) { }
    3735    public ParameterCollection(IEnumerable<IParameter> collection) : base(collection) { }
     36
     37    public override IDeepCloneable Clone(Cloner cloner) { return new ParameterCollection(this, cloner); }
    3838  }
    3939}
  • branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ValueParameterCollection.cs

    r4711 r4719  
    3131    protected ValueParameterCollection(bool deserializing) : base(deserializing) { }
    3232    protected ValueParameterCollection(ValueParameterCollection original, Cloner cloner) : base(original, cloner) { }
    33     public override IDeepCloneable Clone(Cloner cloner) { return new ValueParameterCollection(this, cloner); }
    34 
    3533    public ValueParameterCollection() : base() { }
    3634    public ValueParameterCollection(int capacity) : base(capacity) { }
    3735    public ValueParameterCollection(IEnumerable<IValueParameter> collection) : base(collection) { }
     36
     37    public override IDeepCloneable Clone(Cloner cloner) { return new ValueParameterCollection(this, cloner); }
    3838  }
    3939}
  • branches/CloningRefactoring/HeuristicLab.Data/3.3/BoolValue.cs

    r4718 r4719  
    4242    public BoolValue(bool value)
    4343      : base(value) {
    44       //mkommend: be aware that the base call refers to the storable ctor => the value is set explicitly in the ctor body
    45       //this should not affect the persistence because first the ctor is called and afterwards the values were set by reflection.
     44      //mkommend: Be aware that the base call refers to the storable ctor => the value is set explicitly in the ctor body.
     45      //          This should not affect the persistence, because first the ctor is called and afterwards the values are set by reflection.
    4646      this.value = value;
    4747    }
Note: See TracChangeset for help on using the changeset viewer.