ForgeTrust.Runnable.Core/CriticalService.cs

CriticalService

Type

CriticalService

A base class for background services that are critical to the application's operation. If a critical service fails or exits, the entire application will be shut down.
Method

RunAsync(CancellationToken)

Implements the core logic of the critical service.
Method

LogInitialize(string)

Logs that the critical service is initializing.
Method

LogStopping(string)

Logs that the critical service is stopping.
Method

LogException(Exception, string)

Logs an unhandled exception that occurred in the critical service.