Show / Hide Table of Contents

Class PullIngestTriggerService

Waits to trigger title-specific pull ingestion runs.

Inheritance
System.Object
PullIngestTriggerService
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.PullIngestion
Assembly: CrashCABN.PullIngestion.dll
Syntax
public class PullIngestTriggerService

Constructors

View Source

PullIngestTriggerService(ILogger<PullIngestQueryService>, ITitleConfigurationFactory)

Initializes a new instance of the PullIngestTriggerService class.

Declaration
public PullIngestTriggerService(ILogger<PullIngestQueryService> logger, ITitleConfigurationFactory configFactory)
Parameters
Type Name Description
ILogger<PullIngestQueryService> logger

to use for logging.

ITitleConfigurationFactory configFactory

The title configuration factory.

Methods

View Source

Run(Nullable<DateTime>)

Checks which titles should have pull ingestion runs queued based on their time schedule.

Declaration
public async IAsyncEnumerable<string> Run(DateTime? lastRun)
Parameters
Type Name Description
System.Nullable<System.DateTime> lastRun

Time value to use to determine when to kick off title-specific runs.

Returns
Type Description
System.Collections.Generic.IAsyncEnumerable<System.String>

A System.Threading.Tasks.Task representing the result of the asynchronous operation.

  • View Source
In This Article
Back to top Generated by DocFX