Skip to content

Commit

Permalink
Apply naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed Nov 10, 2023
1 parent 18f7f91 commit 583d987
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public ExecuteRequestResult HandleExecuteDocumentSelection(ExecuteDocumentSelect
qry += '\n';
}

await Execute(session, request, qry, request.QuerySelection);
await ExecuteAsync(session, request, qry, request.QuerySelection);
});

return new ExecuteRequestResult();
Expand All @@ -123,13 +123,13 @@ private ExecuteRequestResult HandleExecuteString(ExecuteStringParams request)
_ = Task.Run(async () =>
{
var lines = request.Query.Split('\n');
await Execute(session, request, request.Query, new SelectionData { StartLine =0, StartColumn = 0, EndLine = lines.Length - 1, EndColumn = lines[lines.Length - 1].Length });
await ExecuteAsync(session, request, request.Query, new SelectionData { StartLine =0, StartColumn = 0, EndLine = lines.Length - 1, EndColumn = lines[lines.Length - 1].Length });
});

return new ExecuteRequestResult();
}

private async Task Execute(Connection.Session session, ExecuteRequestParamsBase request, string qry, SelectionData selection)
private async Task ExecuteAsync(Connection.Session session, ExecuteRequestParamsBase request, string qry, SelectionData selection)
{
// query/batchStart (BatchEventParams)
// query/message (MessagePArams)
Expand Down

0 comments on commit 583d987

Please sign in to comment.