Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/26/12 13:12:48 (12 years ago)
Author:
gkronber
Message:

#1797 added an interface IConstrainedValueParameter, added a test case to check the name, visibility and type of the parameter-property for constrainedValueParameters, corrected all properties in IParameterizedItems

File:
1 edited

Legend:

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

    r7259 r8121  
    3333  [Item("OptionalConstrainedValueParameter", "A parameter whose value has to be chosen from a set of valid values or is null.")]
    3434  [StorableClass]
    35   public class OptionalConstrainedValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem {
     35  public class OptionalConstrainedValueParameter<T> : Parameter, IConstrainedValueParameter<T> where T : class, IItem {
    3636    public override Image ItemImage {
    3737      get {
     
    4040      }
    4141    }
    42 
     42     
    4343    [Storable]
    4444    private ItemSet<T> validValues;
    45     public ItemSet<T> ValidValues {
     45    public IItemSet<T> ValidValues {
    4646      get { return validValues; }
    4747    }
Note: See TracChangeset for help on using the changeset viewer.