BetterFinds
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
BetterFinds.Services.AuctionBackgroundService Class Reference

Background service that checks for auctions that ended and notifies users More...

Inheritance diagram for BetterFinds.Services.AuctionBackgroundService:
Inheritance graph
[legend]
Collaboration diagram for BetterFinds.Services.AuctionBackgroundService:
Collaboration graph
[legend]

Public Member Functions

 AuctionBackgroundService (IServiceProvider serviceProvider)
 Initializes a new instance of the AuctionBackgroundService class. More...
 

Protected Member Functions

override async Task ExecuteAsync (CancellationToken stoppingToken)
 Executes the background service. More...
 

Private Attributes

readonly IServiceProvider serviceProvider
 The IServiceProvider instance. More...
 

Detailed Description

Background service that checks for auctions that ended and notifies users

Constructor & Destructor Documentation

◆ AuctionBackgroundService()

BetterFinds.Services.AuctionBackgroundService.AuctionBackgroundService ( IServiceProvider  serviceProvider)
inline

Initializes a new instance of the AuctionBackgroundService class.

Parameters
serviceProviderThe IServiceProvider instance.

Member Function Documentation

◆ ExecuteAsync()

override async Task BetterFinds.Services.AuctionBackgroundService.ExecuteAsync ( CancellationToken  stoppingToken)
inlineprotected

Executes the background service.

Parameters
stoppingTokenThe stopping token.
Returns
A task that represents the asynchronous operation.

Member Data Documentation

◆ serviceProvider

readonly IServiceProvider BetterFinds.Services.AuctionBackgroundService.serviceProvider
private

The IServiceProvider instance.


The documentation for this class was generated from the following file: