Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5001 for branches


Ignore:
Timestamp:
11/30/10 16:00:59 (14 years ago)
Author:
epitzer
Message:

private setters for ExecutionStack, OperatorTrace and Log, remove unneeded SuspendUpdate and ResumeUpdate methods (#47)

Location:
branches/HeuristicLab.DebugEngine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.DebugEngine/DebugEngine.cs

    r4996 r5001  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Linq;
    2524using System.Threading;
     
    7978
    8079    [Storable]
    81     public ILog Log { get; protected set; }
    82 
    83     [Storable]
    84     public ExecutionStack ExecutionStack { get; protected set; }
     80    public ILog Log { get; private set; }
     81
     82    [Storable]
     83    public ExecutionStack ExecutionStack { get; private set; }
    8584
    8685    [Storable]
  • branches/HeuristicLab.DebugEngine/OperatorTraceView.cs

    r4998 r5001  
    7272
    7373    private void UpdateOperatorTrace() {
    74       if (suspended)
    75         return;
    7674      listView.BeginUpdate();
    7775      listView.Items.Clear();
     
    113111    }
    114112    #endregion
    115 
    116     private bool suspended = false;
    117     public void SuspendUpdate() {
    118       suspended = true;
    119     }
    120     public void ResumeUpdate() {
    121       suspended = false;
    122       UpdateOperatorTrace();
    123     }
    124113  }
    125114
Note: See TracChangeset for help on using the changeset viewer.