Inheritance: ViewModelBase
コード例 #1
0
 private static void NewMessageImpl(MessagesViewModel vm)
 {
     vm._composeVM = new ComposeViewModel(vm._baconProvider);
     vm._navigationService.Navigate(vm._dynamicViewLocator.ComposeView, null);
 }
コード例 #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);
     }
 }
コード例 #3
0
 private static void RefreshMessagesImpl(MessagesViewModel vm)
 {
     vm.GetMessages();
 }