net8, language features, bugfixes
This commit is contained in:
parent
1591618c2c
commit
ce99053a10
353 changed files with 3245 additions and 3944 deletions
|
|
@ -4,17 +4,14 @@ using System.Management.Automation.Runspaces;
|
|||
|
||||
namespace Insight.Agent.Services;
|
||||
|
||||
public class ScriptService
|
||||
public class ScriptService(ILogger<ScriptService> logger)
|
||||
{
|
||||
private readonly ILogger<ScriptService> _logger;
|
||||
|
||||
public ScriptService(ILogger<ScriptService> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
private readonly ILogger<ScriptService> _logger = logger;
|
||||
|
||||
public async Task<QueryResult> QueryAsync(string query)
|
||||
{
|
||||
_logger.LogDebug("QueryAsync ({query})", query);
|
||||
|
||||
var result = new QueryResult();
|
||||
var errors = new List<string>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue