Skip to content

[refactor] 重构服务安装,外部传入服务模型ServiceModel,统一解析命令行参数。fix: https://github.… #137

[refactor] 重构服务安装,外部传入服务模型ServiceModel,统一解析命令行参数。fix: https://github.…

[refactor] 重构服务安装,外部传入服务模型ServiceModel,统一解析命令行参数。fix: https://github.… #137

Triggered via push December 2, 2024 00:38
Status Success
Total duration 49s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Zero.Agent/Program.cs#L35
'ServiceBase.AddMenu(char, string, Action)' is obsolete: '建议定义命令处理类,并继承 BaseCommandHandler'
test: Zero.Agent/Program.cs#L46
The field 'MyServices._timer2' is never used
test: Zero.Agent/Program.cs#L45
The field 'MyServices._timer' is never used
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Zero.Agent/Program.cs#L35
'ServiceBase.AddMenu(char, string, Action)' is obsolete: '建议定义命令处理类,并继承 BaseCommandHandler'