1- // Copyright (c) Microsoft Corporation.
1+ // Copyright (c) Microsoft Corporation.
22// Licensed under the MIT License.
33
4+ using System . Threading ;
5+ using System . Threading . Tasks ;
46using Microsoft . Extensions . Logging ;
57using Microsoft . PowerShell . EditorServices . Services ;
6- using Microsoft . PowerShell . EditorServices . Services . DebugAdapter ;
78using Microsoft . PowerShell . EditorServices . Services . PowerShell ;
89using Microsoft . PowerShell . EditorServices . Services . PowerShell . Debugging ;
910using Microsoft . PowerShell . EditorServices . Services . PowerShell . Execution ;
10- using Microsoft . PowerShell . EditorServices . Services . PowerShell . Runspace ;
1111using Microsoft . PowerShell . EditorServices . Services . TextDocument ;
1212using Microsoft . PowerShell . EditorServices . Utility ;
1313using OmniSharp . Extensions . DebugAdapter . Protocol . Events ;
1414using OmniSharp . Extensions . DebugAdapter . Protocol . Requests ;
1515using OmniSharp . Extensions . DebugAdapter . Protocol . Server ;
16- using System . Management . Automation ;
17- using System . Management . Automation . Language ;
18- using System . Threading ;
19- using System . Threading . Tasks ;
2016
2117namespace Microsoft . PowerShell . EditorServices . Handlers
2218{
@@ -38,9 +34,7 @@ internal class ConfigurationDoneHandler : IConfigurationDoneHandler
3834 private readonly DebugEventHandlerService _debugEventHandlerService ;
3935 private readonly IInternalPowerShellExecutionService _executionService ;
4036 private readonly WorkspaceService _workspaceService ;
41-
4237 private readonly IPowerShellDebugContext _debugContext ;
43- private readonly IRunspaceContext _runspaceContext ;
4438
4539 public ConfigurationDoneHandler (
4640 ILoggerFactory loggerFactory ,
@@ -50,8 +44,7 @@ public ConfigurationDoneHandler(
5044 DebugEventHandlerService debugEventHandlerService ,
5145 IInternalPowerShellExecutionService executionService ,
5246 WorkspaceService workspaceService ,
53- IPowerShellDebugContext debugContext ,
54- IRunspaceContext runspaceContext )
47+ IPowerShellDebugContext debugContext )
5548 {
5649 _logger = loggerFactory . CreateLogger < ConfigurationDoneHandler > ( ) ;
5750 _debugAdapterServer = debugAdapterServer ;
@@ -61,7 +54,6 @@ public ConfigurationDoneHandler(
6154 _executionService = executionService ;
6255 _workspaceService = workspaceService ;
6356 _debugContext = debugContext ;
64- _runspaceContext = runspaceContext ;
6557 }
6658
6759 public Task < ConfigurationDoneResponse > Handle ( ConfigurationDoneArguments request , CancellationToken cancellationToken )
0 commit comments