Example #1
0
            public RemoteWorkerHarness AddWorker(int port)
            {
                var harness = new RemoteWorkerHarness(LoggingContext, BuildId, port);

                AddWorker(harness);
                return(harness);
            }
Example #2
0
            public RemoteWorkerHarness AddWorker()
            {
                var harness = new RemoteWorkerHarness(LoggingContext, InvocationId);

                AddWorker(harness);
                return(harness);
            }
Example #3
0
 public void AddWorker(RemoteWorkerHarness harness)
 {
     Contract.Requires(WorkerCount < RemoteWorkers.Length);
     RemoteWorkers[WorkerCount++] = harness;
 }