Inheritance: ViewModelBase
Exemplo n.º 1
0
 private static void NewMessageImpl(MessagesViewModel vm)
 {
     vm._composeVM = new ComposeViewModel(vm._baconProvider);
     vm._navigationService.Navigate(vm._dynamicViewLocator.ComposeView, null);
 }
Exemplo n.º 2
0
 private static void ReplyToMessageImpl(MessagesViewModel vm)
 {
     if (vm.SelectedItem.IsPostReply || vm.SelectedItem.IsCommentReply || vm.SelectedItem.IsUserMention)
     {
         UtilityCommandImpl.GotoLinkImpl("http://reddit.com" + vm.SelectedItem.Context, null);
     }
     else
     {
         vm._composeVM = new ComposeViewModel(vm._baconProvider, vm.SelectedItem);
         vm._navigationService.Navigate(vm._dynamicViewLocator.ComposeView, null);
     }
 }
Exemplo n.º 3
0
 private static void RefreshMessagesImpl(MessagesViewModel vm)
 {
     vm.GetMessages();
 }