/// <summary> /// Convert model to "GeneralMessage". /// </summary> /// <param name="model">The model to convert.</param> /// <returns>The instance of GeneralMessage.</returns> public GeneralMessage ConvertToGeneralMessage(object model) { GeneralMessage message = _modelConvert.ToMessage(model); message.Header = _modelHeaderIndicator; return(message); }
/// <summary> /// Convert model to "GeneralMessage". /// </summary> /// <param name="model">The model to convert.</param> /// <returns>The instance of GeneralMessage.</returns> public GeneralMessage ConvertToGeneralMessage(object model) { return(_modelConvert.ToMessage(model)); }