Ignore:
Timestamp:
11/17/15 14:19:44 (7 years ago)
Author:
jkarder
Message:

#2298: applied some of the changes suggested by mkommend in comment:14:ticket:2298

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProblemDefinitionScript.cs

    r13212 r13218  
    3131    public string Filename { get; set; }
    3232
    33     protected override string CodeTemplate {
    34       get { return ScriptTemplates.CompiledMultiObjectiveProblemDefinition; }
    35     }
    36 
    3733    private new IMultiObjectiveProblemDefinition CompiledProblemDefinition {
    3834      get { return (IMultiObjectiveProblemDefinition)base.CompiledProblemDefinition; }
     
    4137    [StorableConstructor]
    4238    private MultiObjectiveProblemDefinitionScript(bool deserializing) : base(deserializing) { }
    43     private MultiObjectiveProblemDefinitionScript(MultiObjectiveProblemDefinitionScript original, Cloner cloner)
    44       : base(original, cloner) { }
    45 
    46     public MultiObjectiveProblemDefinitionScript() {
    47       Code = CodeTemplate;
    48     }
     39    private MultiObjectiveProblemDefinitionScript(MultiObjectiveProblemDefinitionScript original, Cloner cloner) : base(original, cloner) { }
     40    public MultiObjectiveProblemDefinitionScript() : base(ScriptTemplates.CompiledMultiObjectiveProblemDefinition) { }
    4941
    5042    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.