public void Execute(object parameter)
        {
            // throw new NotImplementedException();
            var post = (Post)parameter;     // cf Command="{Binding PostCommand}"  CommandParameter="{Binding Post}" in NewTravelPage.xaml - sending thru this code

            viewModel.PublishPost(post);
        }
Exemplo n.º 2
0
        public void Execute(object parameter)
        {
            var post = parameter as Post;

            if (post != null)
            {
                travelVM.PublishPost(post);
            }
        }
Exemplo n.º 3
0
        public void Execute(object parameter)
        {
            var post = (Post)parameter;

            viewModel.PublishPost(post);
        }
Exemplo n.º 4
0
 public void Execute(object parameter)
 {
     NewTravelViewModel.PublishPost();
 }
        public void Execute(object parameter)
        {
            var inf = (info)parameter;

            viewModel.PublishPost(inf);
        }