public void Initialize(IDebugAdapterHostContext context) => _adapterHostContext = context ?? throw new ArgumentNullException(nameof(context));
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; }
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)); }