Ignore:
Timestamp:
05/08/20 16:29:32 (2 years ago)
Author:
mkommend
Message:

#2521: Added first implementation of new reference parameter and corrected fixed value parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Parameters/3.3/FixedValueParameter.cs

    r17317 r17532  
    3434    IItem IFixedValueParameter.Value { get { return Value; } }
    3535
     36    public override T Value {
     37      get => base.Value;
     38      set => throw new NotSupportedException("FixedValueParameters do not support setting their value.");
     39    }
     40
    3641    public override void ForceValue(T value) {
    3742      throw new NotSupportedException("FixedValueParameters do not support setting their value.");
Note: See TracChangeset for help on using the changeset viewer.