Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/03/10 04:43:06 (15 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on parameters and operators
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters/3.3/Parameter.cs

    r2714 r2740  
    2929namespace HeuristicLab.Parameters {
    3030  /// <summary>
    31   /// Represents a parameter.
     31  /// A base class for parameters.
    3232  /// </summary>
    3333  [Item("Parameter", "A base class for parameters.")]
     
    4545      get { return dataType; }
    4646    }
     47    [Storable]
     48    private ExecutionContext executionContext;
     49    public ExecutionContext ExecutionContext {
     50      get { return executionContext; }
     51      set { executionContext = value; }
     52    }
    4753
    4854    protected Parameter()
     
    5662    }
    5763
    58     public abstract IItem GetValue(ExecutionContext context);
    59 
    6064    public override IDeepCloneable Clone(Cloner cloner) {
    6165      Parameter clone = (Parameter)base.Clone(cloner);
    6266      clone.dataType = dataType;
     67      clone.executionContext = (ExecutionContext)cloner.Clone(executionContext);
    6368      return clone;
    6469    }
Note: See TracChangeset for help on using the changeset viewer.