Table of Contents

Class FileCleanupService

Namespace
EchoHub.Server.Services
Assembly
EchoHub.Server.dll
public sealed class FileCleanupService : BackgroundService, IDisposable
Inheritance
BackgroundService
FileCleanupService
Implements
Inherited Members

Constructors

FileCleanupService(IConfiguration, ILogger<FileCleanupService>)

public FileCleanupService(IConfiguration configuration, ILogger<FileCleanupService> logger)

Parameters

configuration IConfiguration
logger ILogger<FileCleanupService>

Methods

ExecuteAsync(CancellationToken)

protected override Task ExecuteAsync(CancellationToken stoppingToken)

Parameters

stoppingToken CancellationToken

Returns

Task