コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public QueueChangedArgs(object item, QueueEventType type)
 {
     Item      = item;
     EventType = type;
 }