SH-Tang / BalancedFieldLength

A C# implementation to calculate the balanced field length of an aircraft.
GNU General Public License v3.0
1 stars 0 forks source link

Improve MessageViewModel #25

Closed SH-Tang closed 3 years ago

SH-Tang commented 4 years ago

There are currently two ways to add a MessageContext to the MessageViewModel, which is undesired. Ideally, the API should only expose the methods on how to add (and/or remove) items, instead of providing both these methods and an access to the underlying ObservableCollection which is used for the dynamic binding.

Additionally, implement a converter to add a column to indicate the severity of a log message. Currently, only a message is displayed.