//Use dependency injection and singleton pattern for the ShelfController constructor public ShelfController(IBackgroundShelfQueue shelfQueue) { this.shelfQueue = shelfQueue; }
public ClientNotifier(IBackgroundShelfQueue shelfQueue, IHubContext <ClientUpdateHub> hubContext) { this.shelfQueue = shelfQueue; this.hubContext = hubContext; }
public HttpModuleClient(IBackgroundShelfQueue shelfQueue) { this.shelfQueue = shelfQueue; }
public InProcShelfDataGenerator(IBackgroundShelfQueue shelfQueue, ILogger <InProcShelfDataGenerator> logger) { this.shelfQueue = shelfQueue; _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public ClientUpdateHub(IBackgroundShelfQueue shelfQueue) { this.shelfQueue = shelfQueue; }
public InProcShelfDataGenerator(IBackgroundShelfQueue shelfQueue) { this.shelfQueue = shelfQueue; }
public HttpModuleClient(IBackgroundShelfQueue shelfQueue, ILogger <HttpModuleClient> logger) { this.shelfQueue = shelfQueue; _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }