[refactor] 重构服务安装,外部传入服务模型ServiceModel,统一解析命令行参数。fix: https://github.… #137
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
Zero.Agent/Program.cs#L35
'ServiceBase.AddMenu(char, string, Action)' is obsolete: '建议定义命令处理类,并继承 BaseCommandHandler'
|
Loading