STARIONGROUP / COMET-WEB-Community-Edition

The CDP4-COMET web application
https://www.stariongroup.eu
GNU Affero General Public License v3.0
0 stars 1 forks source link

[Refactor] viewmodels to make use of this.whenanyvalue in favour of XXXViewModel.Selectxxx() methods #628

Closed samatstariongroup closed 1 month ago

samatstariongroup commented 2 months ago

Prerequisites

Description

The CategoriesTableViewModel.SelectCategory() sets the this.Thing property and then continues to implement logic to update the viewmdoel. This needs to be refactored to make use of reactive programming

set the this.Thing and add a this.WhenAnyValue subscription to react to this change as per https://www.reactiveui.net/docs/handbook/when-any

System Configuration