Пример #1
0
        public void OnEmailSelectionChanged(MailViewModel viewModel)
        {
            EmailSelectionChangedEvent evt = eventAggregator.GetEvent <EmailSelectionChangedEvent>();

            evt.Publish(viewModel == null ? null : viewModel.Email);
        }
        public void OnEmailSelectionChanged(MailViewModel viewModel)
        {
            EmailSelectionChangedEvent evt =
            eventAggregator.GetEvent<EmailSelectionChangedEvent>();

              evt.Publish(viewModel == null ? null : viewModel.Email);
        }