7 references to ExecuteCommandParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\Commands\AbstractExecuteWorkspaceCommandHandler.cs (3)
11
internal abstract class AbstractExecuteWorkspaceCommandHandler : ILspServiceDocumentRequestHandler<
ExecuteCommandParams
, object>
18
public abstract TextDocumentIdentifier GetTextDocumentIdentifier(
ExecuteCommandParams
request);
20
public abstract Task<object> HandleRequestAsync(
ExecuteCommandParams
request, RequestContext context, CancellationToken cancellationToken);
Handler\WorkspaceCommand\ExecuteWorkspaceCommandHandler.cs (3)
18
internal class ExecuteWorkspaceCommandHandler : ILspServiceRequestHandler<
ExecuteCommandParams
, object?>
30
public async Task<object?> HandleRequestAsync(
ExecuteCommandParams
request, RequestContext context, CancellationToken cancellationToken)
37
var handler = (AbstractExecuteWorkspaceCommandHandler)handlerProvider.GetMethodHandler(requestMethod, TypeRef.FromOrNull(typeof(
ExecuteCommandParams
)), TypeRef.FromOrNull(typeof(object)), LanguageServerConstants.DefaultLanguageName);
Protocol\Methods.Workspace.cs (1)
282
public static readonly LspRequest<
ExecuteCommandParams
, object?> WorkspaceExecuteCommand = new(WorkspaceExecuteCommandName);