コード例 #1
0
 public DisconnectHandler(
     ILoggerFactory factory,
     PsesDebugServer psesDebugServer,
     PowerShellContextService powerShellContextService,
     DebugService debugService,
     DebugStateService debugStateService,
     DebugEventHandlerService debugEventHandlerService)
 {
     _logger                   = factory.CreateLogger <DisconnectHandler>();
     _psesDebugServer          = psesDebugServer;
     _powerShellContextService = powerShellContextService;
     _debugService             = debugService;
     _debugStateService        = debugStateService;
     _debugEventHandlerService = debugEventHandlerService;
 }
コード例 #2
0
 public AttachHandler(
     ILoggerFactory factory,
     IJsonRpcServer jsonRpcServer,
     DebugService debugService,
     PowerShellContextService powerShellContextService,
     DebugStateService debugStateService,
     DebugEventHandlerService debugEventHandlerService)
 {
     _logger                   = factory.CreateLogger <AttachHandler>();
     _jsonRpcServer            = jsonRpcServer;
     _debugService             = debugService;
     _powerShellContextService = powerShellContextService;
     _debugStateService        = debugStateService;
     _debugEventHandlerService = debugEventHandlerService;
 }
コード例 #3
0
 public LaunchHandler(
     ILoggerFactory factory,
     IJsonRpcServer jsonRpcServer,
     DebugService debugService,
     PowerShellContextService powerShellContextService,
     DebugStateService debugStateService,
     DebugEventHandlerService debugEventHandlerService,
     RemoteFileManagerService remoteFileManagerService)
 {
     _logger                   = factory.CreateLogger <LaunchHandler>();
     _jsonRpcServer            = jsonRpcServer;
     _debugService             = debugService;
     _powerShellContextService = powerShellContextService;
     _debugStateService        = debugStateService;
     _debugEventHandlerService = debugEventHandlerService;
     _remoteFileManagerService = remoteFileManagerService;
 }
コード例 #4
0
 public ConfigurationDoneHandler(
     ILoggerFactory loggerFactory,
     IJsonRpcServer jsonRpcServer,
     DebugService debugService,
     DebugStateService debugStateService,
     DebugEventHandlerService debugEventHandlerService,
     PowerShellContextService powerShellContextService,
     WorkspaceService workspaceService)
 {
     _logger                   = loggerFactory.CreateLogger <SetFunctionBreakpointsHandler>();
     _jsonRpcServer            = jsonRpcServer;
     _debugService             = debugService;
     _debugStateService        = debugStateService;
     _debugEventHandlerService = debugEventHandlerService;
     _powerShellContextService = powerShellContextService;
     _workspaceService         = workspaceService;
 }
コード例 #5
0
 public DisconnectHandler(
     ILoggerFactory factory,
     PsesDebugServer psesDebugServer,
     IRunspaceContext runspaceContext,
     IInternalPowerShellExecutionService executionService,
     DebugService debugService,
     DebugStateService debugStateService,
     DebugEventHandlerService debugEventHandlerService)
 {
     _logger                   = factory.CreateLogger <DisconnectHandler>();
     _psesDebugServer          = psesDebugServer;
     _runspaceContext          = runspaceContext;
     _executionService         = executionService;
     _debugService             = debugService;
     _debugStateService        = debugStateService;
     _debugEventHandlerService = debugEventHandlerService;
 }
コード例 #6
0
 public ConfigurationDoneHandler(
     ILoggerFactory loggerFactory,
     IDebugAdapterServerFacade debugAdapterServer,
     DebugService debugService,
     DebugStateService debugStateService,
     DebugEventHandlerService debugEventHandlerService,
     PowerShellContextService powerShellContextService,
     WorkspaceService workspaceService)
 {
     _logger                   = loggerFactory.CreateLogger <ConfigurationDoneHandler>();
     _debugAdapterServer       = debugAdapterServer;
     _debugService             = debugService;
     _debugStateService        = debugStateService;
     _debugEventHandlerService = debugEventHandlerService;
     _powerShellContextService = powerShellContextService;
     _workspaceService         = workspaceService;
 }
コード例 #7
0
 public LaunchAndAttachHandler(
     ILoggerFactory factory,
     IDebugAdapterServerFacade debugAdapterServer,
     BreakpointService breakpointService,
     DebugEventHandlerService debugEventHandlerService,
     DebugService debugService,
     DebugStateService debugStateService,
     PowerShellContextService powerShellContextService,
     RemoteFileManagerService remoteFileManagerService)
 {
     _logger                          = factory.CreateLogger <LaunchAndAttachHandler>();
     _debugAdapterServer              = debugAdapterServer;
     _breakpointService               = breakpointService;
     _debugEventHandlerService        = debugEventHandlerService;
     _debugService                    = debugService;
     _debugStateService               = debugStateService;
     _debugStateService.ServerStarted = new TaskCompletionSource <bool>();
     _powerShellContextService        = powerShellContextService;
     _remoteFileManagerService        = remoteFileManagerService;
 }