public static AMessage_Message AMessage_Message(MCommunication_Message mMessage, bool allowAcknowledge) { var message = new AMessage_Message() { MMessage = mMessage, AllowAcknowledge = allowAcknowledge }; return(message); }
public Message( AMessage_Message aMessage, MCommunication_Message mMessage, bool highlight, IApplicationLocale locale) { AMessage = aMessage; MMessage = aMessage?.MMessage ?? mMessage; Highlight = highlight; Locale = locale; LastEmail = aMessage.MMessage.Emails?.Last(); }
public Message CreateMessage(AMessage_Message aMessage, MCommunication_Message mMessage, bool highlight) { var model = new Message(aMessage, mMessage, highlight, Locale); return(model); }