You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.