Last , I was given a few issues in my git repository. Previously in the SandBox application , data were selected in the ComboBox with SelectedValue , showing names with DisplayMemberPath . I was advised to use wrappers instead for more maintainable code . After implementing the wrapper instead of SelectedValue and DisplayMemberPath the codebase became less complex .
A Wrapper class “wraps” an object of another class. It is used to implement a design pattern that has an instance of an object and presents its own interface to that object, without changing the original class .
I also fixed some bugs in the ViewModel and integration tests between modules . In the ViewModel , methods were called twice causing errors, because EventAggregator was subscribed more than once, once in a method and another in the constructor , to fix this I removed the subscription from the constructor , fixing the bug while making the integration tests pass.
That is it for last week . For next week , I will be planning a model for stock threshold in the application .
