feat: add license controller + process termination support #1342
Annotations
7 errors and 10 warnings
Build:
Cognite.Simulator.Tests/UtilsTests/ProcessUtilsTest.cs#L58
The type arguments for method 'TestUtilities.VerifyLog<TLogger>(Mock<ILogger<TLogger>>, LogLevel, string, Times, bool)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
|
Build:
Cognite.Simulator.Tests/UtilsTests/ProcessUtilsTest.cs#L62
The type arguments for method 'TestUtilities.VerifyLog<TLogger>(Mock<ILogger<TLogger>>, LogLevel, string, Times, bool)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
|
Build:
Cognite.Simulator.Tests/UtilsTests/ProcessUtilsTest.cs#L85
The type arguments for method 'TestUtilities.VerifyLog<TLogger>(Mock<ILogger<TLogger>>, LogLevel, string, Times, bool)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
|
Build:
Cognite.Simulator.Tests/UtilsTests/ProcessUtilsTest.cs#L58
The type arguments for method 'TestUtilities.VerifyLog<TLogger>(Mock<ILogger<TLogger>>, LogLevel, string, Times, bool)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
|
Build:
Cognite.Simulator.Tests/UtilsTests/ProcessUtilsTest.cs#L62
The type arguments for method 'TestUtilities.VerifyLog<TLogger>(Mock<ILogger<TLogger>>, LogLevel, string, Times, bool)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
|
Build:
Cognite.Simulator.Tests/UtilsTests/ProcessUtilsTest.cs#L85
The type arguments for method 'TestUtilities.VerifyLog<TLogger>(Mock<ILogger<TLogger>>, LogLevel, string, Times, bool)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
|
Build
Process completed with exit code 1.
|
Build:
Sample.BasicComConnector/NewSimClient.cs#L46
In externally visible method 'Task NewSimClient.ExtractModelInformation(DefaultModelFilestate state, CancellationToken _token)', validate parameter 'state' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Sample.BasicComConnector/NewSimClient.cs#L79
In externally visible method 'Task<Dictionary<string, SimulatorValueItem>> NewSimClient.RunSimulation(DefaultModelFilestate modelState, SimulatorRoutineRevision routineRev, Dictionary<string, SimulatorValueItem> inputData)', validate parameter 'modelState' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Sample.BasicComConnector/NewSimClient.cs#L13
In externally visible method 'NewSimClient.NewSimClient(ILogger<NewSimClient> logger, DefaultConfig<NewSimAutomationConfig> config)', validate parameter 'config' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Sample.BasicComConnector/NewSimRoutine.cs#L41
In externally visible method 'SimulatorValueItem NewSimRoutine.GetOutput(SimulatorRoutineRevisionOutput outputConfig, Dictionary<string, string> arguments)', validate parameter 'arguments' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Sample.BasicComConnector/NewSimRoutine.cs#L49
In externally visible method 'SimulatorValueItem NewSimRoutine.GetOutput(SimulatorRoutineRevisionOutput outputConfig, Dictionary<string, string> arguments)', validate parameter 'outputConfig' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Sample.BasicComConnector/NewSimRoutine.cs#L23
In externally visible method 'void NewSimRoutine.SetInput(SimulatorRoutineRevisionInput inputConfig, SimulatorValueItem input, Dictionary<string, string> arguments)', validate parameter 'input' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Sample.BasicComConnector/NewSimRoutine.cs#L16
In externally visible method 'void NewSimRoutine.SetInput(SimulatorRoutineRevisionInput inputConfig, SimulatorValueItem input, Dictionary<string, string> arguments)', validate parameter 'arguments' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Cognite.Simulator.Utils/ProcessUtils.cs#L15
The using directive for 'Microsoft.Extensions.Logging' appeared previously in this namespace
|
Build:
Cognite.Simulator.Utils/Configuration.cs#L271
Missing XML comment for publicly visible type or member 'DefaultConnectorConfig'
|
Build:
Cognite.Simulator.Utils/Configuration.cs#L273
Missing XML comment for publicly visible type or member 'DefaultConnectorConfig.ModelLibrary'
|
Loading