Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/19 10:54:20 (5 years ago)
Author:
abeham
Message:

#2561: Decoupled execution state of timelimitrun and its embedded algorithm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Optimization.Views/3.3/TimeLimitRunView.cs

    r16565 r16651  
    134134    private void Content_PropertyChanged(object sender, PropertyChangedEventArgs e) {
    135135      switch (e.PropertyName) {
    136         case "MaximumExecutionTime":
     136        case nameof(Content.MaximumExecutionTime):
    137137          SuppressEvents = true;
    138138          try {
     
    140140          } finally { SuppressEvents = false; }
    141141          break;
    142         case "SnapshotTimes":
     142        case nameof(Content.SnapshotTimes):
    143143          SuppressEvents = true;
    144144          try {
     
    153153          } finally { SuppressEvents = false; }
    154154          break;
    155         case "StoreAlgorithmInEachSnapshot":
     155        case nameof(Content.StoreAlgorithmInEachSnapshot):
    156156          SuppressEvents = true;
    157157          try {
     
    159159          } finally { SuppressEvents = false; }
    160160          break;
    161         case "Algorithm":
     161        case nameof(Content.Algorithm):
    162162          SuppressEvents = true;
    163163          try {
     
    165165          } finally { SuppressEvents = false; }
    166166          break;
    167         case "Snapshots":
     167        case nameof(Content.Snapshots):
    168168          SuppressEvents = true;
    169169          try {
     
    171171          } finally { SuppressEvents = false; }
    172172          break;
    173         case "Runs":
     173        case nameof(Content.Runs):
    174174          SuppressEvents = true;
    175175          try {
Note: See TracChangeset for help on using the changeset viewer.