Exemple #1
0
 public Task <IEnumerable <PipelineRun> > GetRunsAsync(
     [Parent] Pipeline pipeline,
     [Service] IPipelinesService pipelinesService,
     int top,
     CancellationToken cancellationToken)
 {
     return(pipelinesService.GetRunsAsync(pipeline, top, cancellationToken));
 }
Exemple #2
0
 /// <summary>
 ///     This API supports the FluentEvents infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public RoutingService(
     ILogger <RoutingService> logger,
     IPipelinesService pipelinesService
     )
 {
     _logger           = logger;
     _pipelinesService = pipelinesService;
 }
 public Task <IEnumerable <Pipeline> > GetPipelinesAsync(
     GetPipelinesInput input,
     [Service] IPipelinesService pipelinesService,
     CancellationToken cancellationToken)
 {
     return(pipelinesService.GetPipelinesAsync(
                input.ServiceId,
                input.RepositoryId,
                cancellationToken));
 }