Пример #1
0
        public void ShowActionUserMessage(BaseViewModel viewModel, String title, String message, String cancelBtnText, String okBtnText, Action <bool> callBack)
        {
            ActionUserMessage actionMessage = new ActionUserMessage()
            {
                Title = title, MessageText = message, ButtonCancelText = cancelBtnText, ButtonOkText = okBtnText, CallBack = callBack
            };

            MessagingCenter.Send <BaseViewModel, ActionUserMessage>(viewModel, MessageConst.ActionUserMessage, actionMessage);
        }
Пример #2
0
 public void ShowActionUserMessage(BaseViewModel viewModel, ActionUserMessage message)
 {
     MessagingCenter.Send <BaseViewModel, ActionUserMessage>(viewModel, MessageConst.ActionUserMessage, message);
 }