Ejemplo n.º 1
0
        public QueueItemEventHandler(IQueueItemService queueItemService)
        {
            this.queueItemService = queueItemService;

            CommandSwitch
            .CaseWhen(Constants.GetQueueItems, SendQueueItems);
        }
Ejemplo n.º 2
0
        public QueueEventHandler(IQueueService queueService)
        {
            this.queueService = queueService;

            CommandSwitch.CaseWhen(Constants.GetQueue, GetQueue);
        }