示例#1
0
 public void Initialize(IDebugAdapterHostContext context) => _adapterHostContext = context ?? throw new ArgumentNullException(nameof(context));
示例#2
0
 public void Initialize(IDebugAdapterHostContext context)
 {
 }
 public void Initialize(IDebugAdapterHostContext context)
 {
     // Save the context object provided by the Debug Adapter Host so we can use it to access services later
     this.context = context;
 }
 public void Initialize(IDebugAdapterHostContext context)
 {
     _context = context ?? throw new ArgumentException(nameof(context));
     _context.Events.DebuggingEnded += OnDebuggingEnded;
     Evaluator = this;
 }
示例#5
0
 public DebugAdapterProcess(IDebugAdapterHostContext adapterHostContext, ITargetHostInterop targetInterop, string debuggerAdapterDirectory)
 {
     _adapterHostContext       = adapterHostContext ?? throw new ArgumentNullException(nameof(adapterHostContext));
     _targetInterop            = targetInterop ?? throw new ArgumentNullException(nameof(targetInterop));
     _debuggerAdapterDirectory = debuggerAdapterDirectory ?? throw new ArgumentNullException(nameof(debuggerAdapterDirectory));
 }