Example #1
0
 public PartyController(PartyControllerWorkerServices workerServices)
 {
     if (workerServices == null)
     {
         throw new ArgumentNullException("workerServices");
     }
     WorkerServices = workerServices;
 }
Example #2
0
 public PartyController(PartyControllerWorkerServices workerServices)
 {
     WorkerServices = workerServices ?? throw new ArgumentNullException(nameof(workerServices));
 }