Version 1.3.0.0
TcHmiSrvExtNet.Core version 1.3.0.0 was released on August 4, 2021.
New features in this release
- The following constructor, method and properties were added to class Value to increase the performance of creating a fixed-size collection of Values:
-
Remarks:
Creating a Array and setting its elements is faster than creating a ListT and adding the same number of elements to it, even if you set ListTCapacity to the total number of elements. This is because ListT is a wrapper around Array, which makes it about 5% slower for this scenario. Therefore, if you need to create a fixed-sized collection of Values, you can now use a Array instead of a ListT to increase performance. Please also note the Performance Considerations and Remarks about the limited modifiability of Arrays when choosing between Array and ListT. - Constructor JsonSchemaValueJsonSchemaValue(Value, Boolean) was added to allow creating a JsonSchemaValue from a Value containing JSON schema definitions.
- Method DynamicSymbolsProviderHandleCommand(Command) was added and method DynamicSymbolsProviderHandleCommands(CommandGroup) was marked as virtual to allow customized handling of Commands in a CommandGroup by overriding it.
- Method DynamicSymbolsProviderHandleException(Command, Exception) was added to allow customized handling of Exceptions by overriding it and enabling it in one of these newly added constructors:
- DynamicSymbolsProviderDynamicSymbolsProvider(IEnumerableKeyValuePairString, Symbol, IComparerString, Boolean)
- DynamicSymbolsProviderDynamicSymbolsProvider(IEnumerableKeyValuePairString, Symbol, Boolean)
- DynamicSymbolsProviderDynamicSymbolsProvider(Boolean)
- SortedDynamicSymbolsProviderSortedDynamicSymbolsProvider(IEnumerableKeyValuePairString, Symbol, IComparerString, Boolean)
- SortedDynamicSymbolsProviderSortedDynamicSymbolsProvider(IEnumerableKeyValuePairString, Symbol, Boolean)
- DynamicSymbolsProviderHandleException(Command, Exception) is not overridden, it throws an exception of newly added type DynamicSymbolException.
- JSON schemas that contain allOf, anyOf, oneOf or not can be resolved by DynamicSymbolsProvider.