Microsoft introduced model 8.1 of the .NET Group Toolkit, which incorporates extremely requested options, bug fixes, and efficiency enhancements to the MVVM Toolkit supply mills.
The brand new model consists of customized attributes for ‘[ObservableProperty].’ With no constraints on the varieties of attributes that this function helps, this permits full flexibility in annotations for generated properties, all whereas utilizing built-in C# syntax.
The discharge can also be the primary one to introduce devoted analyzers in order that the MVVM Toolkit will now not simply emit diagnostics for options used incorrectly, however can even present suggestions to enhance the code and keep away from widespread errors.
The primary analyzer will alert customers after they assign values to fields that help an observable property, prompting them to make use of the generated property as an alternative. The second analyzer can shrink the scale of binaries in purposes that make the most of the MVVM Toolkit.
The brand new model has additionally added multi-targeting for Roslyn 4.3 in order that the MVVM Toolkit supply mills will now use the Roslyn 4.3 goal if supported.
Due to the brand new IObservable<T> extensions for the IMessenger interface, builders who closely make the most of Reactive-style APIs of their purposes can now bridge the performance uncovered by the messenger APIs within the MVVM Toolkit, a function they’d closely requested.
The brand new launch of the Toolkmity provides .NET 7TFM to the HighPerformance package deal and it consists of a number of adjustments to profit from the brand new C# 11 language options.