Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/30/10 05:05:19 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on content definitions of views
  • corrected bug in cloning of CombinedOperator
Location:
trunk/sources/HeuristicLab.Operators.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views/3.3/CombinedOperatorView.cs

    r2713 r2727  
    5252    /// </summary>
    5353    /// <param name="item">The item that should be displayed.</param>
    54     public CombinedOperatorView(CombinedOperator combinedOperator)
     54    public CombinedOperatorView(CombinedOperator content)
    5555      : this() {
    56       Content = combinedOperator;
     56      Content = content;
    5757    }
    5858
  • trunk/sources/HeuristicLab.Operators.Views/3.3/OperatorView.cs

    r2713 r2727  
    3636  /// </summary>
    3737  [Content(typeof(Operator), true)]
     38  [Content(typeof(IOperator), false)]
    3839  public partial class OperatorView : NamedItemView {
    39     public new Operator Content {
    40       get { return (Operator)base.Content; }
     40    public new IOperator Content {
     41      get { return (IOperator)base.Content; }
    4142      set { base.Content = value; }
    4243    }
     
    5253    /// </summary>
    5354    /// <param name="item">The item that should be displayed.</param>
    54     public OperatorView(Operator op)
     55    public OperatorView(IOperator content)
    5556      : this() {
    56       Content = op;
     57      Content = content;
    5758    }
    5859
Note: See TracChangeset for help on using the changeset viewer.