Пример #1
0
 public AsyncEvaluateExpressionOperation(
     IAsyncDebugEvaluateCompletionHandler completionHandler,
     IAsyncExpressionEvaluator asyncEvaluator, ITaskExecutor taskExecutor)
 {
     _completionHandler = completionHandler;
     _asyncEvaluator    = asyncEvaluator;
     _taskExecutor      = taskExecutor;
 }
Пример #2
0
 private DebugAsyncExpression(IDebugEngineHandler debugEngineHandler,
                              IAsyncExpressionEvaluator asyncEvaluator, ITaskExecutor taskExecutor,
                              IGgpDebugProgram program, IDebugThread2 thread) :
     base(debugEngineHandler, asyncEvaluator, taskExecutor, program, thread)
 {
     this.asyncEvaluator = asyncEvaluator;
     this.taskExecutor   = taskExecutor;
 }
Пример #3
0
            public virtual IDebugAsyncExpression Create(RemoteFrame frame, string text,
                                                        IDebugEngineHandler debugEngineHandler, IGgpDebugProgram debugProgram,
                                                        IDebugThread2 thread)
            {
                IAsyncExpressionEvaluator evaluator = asyncEvaluatorFactory.Create(frame, text);

                return(new DebugAsyncExpression(debugEngineHandler, evaluator, taskExecutor,
                                                debugProgram, thread));
            }
Пример #4
0
        public void SetUp()
        {
            _completionHandler = Substitute.For <IAsyncDebugEvaluateCompletionHandler>();
            _asyncEvaluator    = Substitute.For <IAsyncExpressionEvaluator>();
            _taskExecutor      = Substitute.For <ITaskExecutor>();

            _evaluateOp = new AsyncEvaluateExpressionOperation(_completionHandler,
                                                               _asyncEvaluator, _taskExecutor);
        }
Пример #5
0
 protected DebugCommonExpression(IDebugEngineHandler debugEngineHandler,
                                 IAsyncExpressionEvaluator asyncEvaluator, ITaskExecutor taskExecutor,
                                 IGgpDebugProgram program, IDebugThread2 thread)
 {
     this.debugEngineHandler = debugEngineHandler;
     this.asyncEvaluator     = asyncEvaluator;
     this.taskExecutor       = taskExecutor;
     this.program            = program;
     this.thread             = thread;
 }