public PricingModel(Money listPrice, Money sellPrice, MessagesComponent messagesComponent) : this() { ListPrice = listPrice; SellPrice = sellPrice; var listPriceMessages = messagesComponent.GetListPriceMessages().Select(m => m.Text); if (listPriceMessages != null) { ListPriceMessages.AddRange(listPriceMessages); } var sellPriceMessages = messagesComponent.GetSellPriceMessages().Select(m => m.Text); if (sellPriceMessages != null) { SellPriceMessages.AddRange(sellPriceMessages); } }