Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/26/10 03:51:30 (14 years ago)
Author:
swagner
Message:

Removed property ExecutionContext in Operator (#1333)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ParallelEngine/HeuristicLab.Operators/3.3/ConditionalBranch.cs

    r4722 r5177  
    6767    }
    6868
    69     public override IOperation Apply() {
    70       OperationCollection next = new OperationCollection(base.Apply());
     69    public override IOperation Apply(IExecutionContext context) {
     70      OperationCollection next = new OperationCollection(base.Apply(context));
    7171      if (ConditionParameter.ActualValue != null && ConditionParameter.ActualValue.Value) {
    72         if (TrueBranch != null) next.Insert(0, ExecutionContext.CreateOperation(TrueBranch));
     72        if (TrueBranch != null) next.Insert(0, context.CreateOperation(TrueBranch));
    7373      } else {
    74         if (FalseBranch != null) next.Insert(0, ExecutionContext.CreateOperation(FalseBranch));
     74        if (FalseBranch != null) next.Insert(0, context.CreateOperation(FalseBranch));
    7575      }
    7676      return next;
Note: See TracChangeset for help on using the changeset viewer.