Beispiel #1
0
 public static Task <Container <JToken> > WorkspaceConfiguration(this ILanguageServerWorkspace router, ConfigurationParams @params, CancellationToken cancellationToken = default)
 {
     return(router.SendRequest <ConfigurationParams, Container <JToken> >(WorkspaceNames.WorkspaceConfiguration, @params, cancellationToken));
 }
 public static Task <Container <WorkspaceFolder> > WorkspaceFolders(this ILanguageServerWorkspace mediator, CancellationToken cancellationToken = default)
 {
     return(mediator.SendRequest(new WorkspaceFolderParams(), cancellationToken));
 }
 public static Task <ApplyWorkspaceEditResponse> ApplyEdit(this ILanguageServerWorkspace mediator, ApplyWorkspaceEditParams @params, CancellationToken cancellationToken = default)
 {
     return(mediator.SendRequest(@params, cancellationToken));
 }
 public static Task <Container <WorkspaceFolder> > WorkspaceFolders(this ILanguageServerWorkspace mediator)
 {
     return(mediator.SendRequest <Container <WorkspaceFolder> >(WorkspaceNames.WorkspaceFolders));
 }
Beispiel #5
0
 public static Task <ApplyWorkspaceEditResponse> ApplyEdit(this ILanguageServerWorkspace mediator, ApplyWorkspaceEditParams @params)
 {
     return(mediator.SendRequest <ApplyWorkspaceEditParams, ApplyWorkspaceEditResponse>(WorkspaceNames.ApplyEdit, @params));
 }