Example #1
0
 public ProcessMessage(DbService iDbService, QueueService iQueueService)
 {
     _documentClient = iDbService.GetDocumentClient();
     _client = iDbService.GetFirebaseClient();
     _documentCollection = iDbService.GetDc("LMSCollection", "LMSRegistry");
     _sp = iDbService.GetSp(_documentCollection, "Post");
     _queue = iQueueService.GetQueue("queue");
 }
Example #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);
 }