public ExecutionContext(IAlgorithmContext algorithmContext, string input, string previousValue, OutputChangedDelegates output, SafeCancellationToken cancellationTokenSource) { OutputChanged = output; CancellationTokenSource = cancellationTokenSource; AlgorithmContext = algorithmContext; Input = input; PreviousValue = previousValue; }
public ExecutionContext(IAlgorithmContext algorithmContext, string input, string previousValue, OutputChangedDelegates output, ExecutionContext parentContext, SafeCancellationToken cancellationTokenSource) { OutputChanged = output; AlgorithmContext = algorithmContext; Input = input; PreviousValue = previousValue; CancellationTokenSource = cancellationTokenSource; ParentContext = parentContext; ExecutionNesting = ParentContext.ExecutionNesting + 1; }