public List <string> ToNotificationDescription() { //BusinessObjects _businessObject = new BusinessObjects(); //InventoryItem inventoryItem = _businessObject.get List <string> notificationDescription = new List <string>(); notificationDescription.Add("Order ID: " + OrderId.ToString()); notificationDescription.Add("Notification ID: " + NotificationId.ToString()); notificationDescription.Add("Message: " + NotificationMessage.ToString()); return(notificationDescription); }
private void SaveCommonProperties(Dictionary <string, string> properties) { properties[NotificationPropertyKeys.Common.NOTIFICATION_TYPE] = NotificationType; properties[NotificationPropertyKeys.Common.NOTIFICATION_ID] = NotificationId.ToString(); if (m_recipient != null) { properties[NotificationPropertyKeys.Common.RECIPIENT] = m_recipient; } if (m_deliveryCount != 0) { properties[NotificationPropertyKeys.Common.DELIVERY_COUNT] = m_deliveryCount.ToInvariantString(); } }