public GatedDynamicSchedulerService(StatelessServiceContext serviceContext, AspNetCoreCommunicationContext communicationContext) : base(serviceContext) { _communicationContext = communicationContext; _semaphore = new SemaphoreSlim(1, 1); }
public AspNetCoreCommunicationListener(AspNetCoreCommunicationContext context, StatefulService service) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (service == null) { throw new ArgumentNullException(nameof(service)); } _context = context; _service = service; _registry = _context.WebHost.Services.GetService <ServiceFabricServiceRegistry>(); }
public GatewayService(StatelessServiceContext serviceContext, AspNetCoreCommunicationContext communicationContext) : base(serviceContext) { _communicationContext = communicationContext; }
public CounterService(StatefulServiceContext serviceContext, AspNetCoreCommunicationContext communicationContext) : base(serviceContext) { _communicationContext = communicationContext; _semaphore = new SemaphoreSlim(1, 1); }
public GatewayService(AspNetCoreCommunicationContext context) { _context = context; }
public CounterService(AspNetCoreCommunicationContext context) { _context = context; _semaphore = new SemaphoreSlim(1, 1); }