コード例 #1
0
 public ExecutionContext(IAlgorithmContext algorithmContext, string input, string previousValue, OutputChangedDelegates output, SafeCancellationToken cancellationTokenSource)
 {
     OutputChanged           = output;
     CancellationTokenSource = cancellationTokenSource;
     AlgorithmContext        = algorithmContext;
     Input         = input;
     PreviousValue = previousValue;
 }
コード例 #2
0
 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;
 }