Exemplo n.º 1
0
 public ProcessMessage(DbService iDbService, QueueService iQueueService)
 {
     _documentClient = iDbService.GetDocumentClient();
     _client = iDbService.GetFirebaseClient();
     //_documentCollection = iDbService.GetDc("LMSCollection", "LMSRegistry");
     _documentCollection = null;
     _iDbService = iDbService;
     _queue = iQueueService.GetQueue("queue");
 }
Exemplo n.º 2
0
 // This function will get triggered/executed when a new message is written 
 // on an Azure Queue called queue.
 static Functions()
 {
     var iDbService = new DbService();
     var iQueueService=new QueueService();
     _iProcessMessage = new ProcessMessage.ProcessMessage(iDbService, iQueueService);
 }