public void PushMessage(string propertyName, string value) { MessageValueChanged?.Invoke( this, new MessageValueChangedEventArgs { PropertyName = propertyName, Value = value } ); }
/// <summary> /// Event handler for when the messages is updated /// </summary> public void RaiseMessageValueChanged(string messageTitle, string message, bool isError, string stackTrace = null, string affirmativeActionButtonContent = null, string negativeActionButtonContent = null) { MessageValueChanged?.Invoke(this, new UserPromptMessageChangedEventArgs() { Message = message, StackTrace = stackTrace, IsError = isError, MessageTitle = messageTitle, AffirmativeActionButtonContent = affirmativeActionButtonContent, NegativeActionButtonContent = negativeActionButtonContent }); }