public override EvalContext CreateContext(CancellationTokenSource cancel = null) { var res = EEContext.Create(cancel ?? new System.Threading.CancellationTokenSource()); res.Evaluator = Evaluator; res.Variables = Variables; return(res); }
public new static EvalContext Create(CancellationTokenSource cancel) { var res = new EEContext { CancelToken = cancel }; return(res); }