- Timestamp:
- 01/30/10 05:05:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.cs
r2713 r2727 34 34 /// </summary> 35 35 [Content(typeof(Variable), true)] 36 [Content(typeof(IVariable), false)] 36 37 public partial class VariableView : NamedItemView { 37 38 protected TypeSelectorDialog typeSelectorDialog; … … 42 43 /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>. 43 44 /// No own data storage present.</remarks> 44 public new Variable Content {45 get { return ( Variable)base.Content; }45 public new IVariable Content { 46 get { return (IVariable)base.Content; } 46 47 set { base.Content = value; } 47 48 } … … 59 60 /// <remarks>Calls <see cref="VariableView()"/>.</remarks> 60 61 /// <param name="variable">The variable to represent visually.</param> 61 public VariableView( Variable variable)62 public VariableView(IVariable content) 62 63 : this() { 63 Content = variable;64 Content = content; 64 65 } 65 66
Note: See TracChangeset
for help on using the changeset viewer.