Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

MainViewModel

Avishai Dernis edited this page Jan 30, 2020 · 1 revision

The MainViewModel manages the most basic parts of the Shell and its Views.

The MainViewModel is a partial class split between 4 different files in src/Quarrel.ViewModels/MainViewModel:

  • GenericMainViewModel contains the Services used between all parts of the MainViewModel and uncategorized Commands, Methods or Properties, like the OpenSettings command.

  • GuildsMainViewModel contains the Commands, Methods or Properties used for the GuildListControl; Such as the NavigateGuild command or the BindableGuilds list property.

  • ChannelsMainViewModel contains the Commands, Methods or Properties used for the ChannelListControl; Such as the NavigateChannel command or the CurrentChannel property.

  • MessagesMainViewModel contains the Commands, Methods or Properties used for the MessageListControl; Such as the DeleteMessage command or the BindableMessages list property.

  • MembersMainViewModel contains the Commands, Methods or Properties used for the MessageListControl; Such as the UpdateGuildSubscriptions command or the CurrentBindableMembers list property.

Clone this wiki locally