Пример #1
0
        public void Handle(NotificationUserAction data)
        {
            if (data?.Arguments != null &&
                data.Arguments.ContainsKey(NotificationSender.ACTION_KEY) &&
                data.Arguments[NotificationSender.ACTION_KEY] == NotificationSender.OPEN_MAIN_WINDOW_ACTION_KEY)
            {
                OpenMainWindow();
            }

            SetDeveloperToolsToastNotificationUserAction(data);
        }
Пример #2
0
 private void SetDeveloperToolsToastNotificationUserAction(NotificationUserAction data)
 {
     _developerToolsPopupViewModel.OnToastNotificationUserAction(data);
 }