public CounterService(AspNetCoreCommunicationContext context)
 {
     _context = context;
     _semaphore = new SemaphoreSlim(1, 1);
 }
 public GatewayService(StatelessServiceContext serviceContext, AspNetCoreCommunicationContext communicationContext)
     : base(serviceContext)
 {
     _communicationContext = communicationContext;
 }
Exemple #3
0
 public SmsService(StatefulServiceContext serviceContext, AspNetCoreCommunicationContext communicationContext)
     : base(serviceContext)
 {
     _communicationContext = communicationContext;
     _semaphore = new SemaphoreSlim(1, 1);
 }
 public GatewayService(AspNetCoreCommunicationContext context)
 {
     _context = context;
 }