/// <summary>
		/// Constructor.
		/// </summary>
		public PushEventProcessor(
			IJobQueueClient jobQueueClient,
			IOperationIdProvider operationIdProvider)
		{
			_jobQueueClient = jobQueueClient;
			_operationIdProvider = operationIdProvider;
		}
 /// <summary>
 /// Constructor.
 /// </summary>
 public PushEventProcessor(
     IJobQueueClient jobQueueClient,
     IOperationIdProvider operationIdProvider)
 {
     _jobQueueClient      = jobQueueClient;
     _operationIdProvider = operationIdProvider;
 }
Beispiel #3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public CodeRunnerClient(
     BuildServiceSettings buildServiceSettings,
     IJsonSerializer jsonSerializer,
     IOperationIdProvider operationIdProvider)
 {
     _settings            = buildServiceSettings;
     _jsonSerializer      = jsonSerializer;
     _operationIdProvider = operationIdProvider;
 }
		/// <summary>
		/// Returns a new push event processor.
		/// </summary>
		private PushEventProcessor GetPushEventProcessor(
			IJobQueueClient jobQueueClient = null,
			IOperationIdProvider operationIdProvider = null)
		{
			return new PushEventProcessor(jobQueueClient, operationIdProvider);
		}
 /// <summary>
 /// Returns a new push event processor.
 /// </summary>
 private PushEventProcessor GetPushEventProcessor(
     IJobQueueClient jobQueueClient           = null,
     IOperationIdProvider operationIdProvider = null)
 {
     return(new PushEventProcessor(jobQueueClient, operationIdProvider));
 }