public void RegisterQueueItemProgress(QueueEventType eventType, QueueItemDTO latestItem) { QueueEventLogDTO eventLogItem = new QueueEventLogDTO { Message = string.Format("Queue Data Item {0} is {1}", latestItem.BadgeAwardId, eventType.ToString()), QueueEventCreated = DateTime.Now, QueueEventId = (int)eventType, BadgeAwardId = latestItem.BadgeAwardId }; _queueEventLogDAL.Add(eventLogItem); }
public QueueChangedArgs(object item, QueueEventType type) { Item = item; EventType = type; }