Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/17/19 14:05:47 (5 years ago)
Author:
abeham
Message:

#2521: Refactored ContextLookupParameter with suggestions from mkommend

  • Add StorableType attribute to some types
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Core/3.3/Interfaces/ILookupParameter.cs

    r17254 r17257  
    2424
    2525namespace HeuristicLab.Core {
     26  [StorableType("285d7903-5c4b-4136-bd69-491dc1766825")]
     27  public interface IContextParameter : IParameter {
     28    IExecutionContext ExecutionContext { get; set; }
     29  }
     30
    2631  [StorableType("78e29fa3-e603-4a2e-a3e0-2dee459891f1")]
    27   public interface ILookupParameter : IParameter {
     32  public interface ILookupParameter : IContextParameter {
    2833    string ActualName { get; set; }
    2934    string TranslatedName { get; }
    30     IExecutionContext ExecutionContext { get; set; }
    3135    event EventHandler ActualNameChanged;
    3236  }
     
    3741  }
    3842
    39   [StorableType("285d7903-5c4b-4136-bd69-491dc1766825")]
    40   public interface IContextLookupParameter : IParameter {
    41     IExecutionContext ExecutionContext { get; set; }
    42   }
    43 
    4443  [StorableType("26db2a08-7537-4e0e-b93c-4d4478698cd1")]
    45   public interface IContextLookupParameter<T> : IContextLookupParameter where T : class, IParameterizedItem {
     44  public interface IContextLookupParameter<T> : IContextParameter where T : class, IParameterizedItem {
    4645    new T ActualValue { get; }
    4746  }
Note: See TracChangeset for help on using the changeset viewer.