/// <summary> /// Initializes a new instance of the <see cref="WebSshHostedService"/> class. /// </summary> public WebSshHostedService( IHostApplicationLifetime appLifetime, ServerShellPoll sshPoll) { _appLifetime = appLifetime; _sshPoll = sshPoll; }
/// <summary> /// Initializes a new instance of the <see cref="GetUserSessionsQueryHandler"/> class. /// </summary> public GetUserSessionsQueryHandler( IHttpContextAccessor accessor, ServerShellPoll sshPoll, IOwnSystemLocalizer <SshTerminalConstants> localizer) { _accessor = accessor; _sshPoll = sshPoll; _localizer = localizer; }
/// <summary> /// /// </summary> public DisconnectTerminalCommandHandler( IHttpContextAccessor accessor, ServerShellPoll sshPoll, IOwnSystemLocalizer <SshTerminalConstants> localizer) { _accessor = accessor; _sshPoll = sshPoll; _localizer = localizer; }
public ExecuteShellCommandHandler( IHttpContextAccessor httpContextAccessor, ServerShellPoll sshPoll, IOwnSystemLocalizer <SshTerminalConstants> localizer) { _httpContextAccessor = httpContextAccessor; _sshPoll = sshPoll; _localizer = localizer; }
/// <summary> /// Initializes a new instance of the <see cref="ConnectToSourceCommandHandler"/> class. /// </summary> public ConnectToSourceCommandHandler( IHttpContextAccessor httpContextAccessor, ServerShellPoll shellPoll, IOwnSystemLocalizer <SshTerminalConstants> localizer) { _httpContextAccessor = httpContextAccessor; _shellPoll = shellPoll; _localizer = localizer; }