Table of Contents

Class NlogServiceLifecycle

Namespace
Innova.NLogExtensions
Assembly
Innova.NLogExtensions.dll

Represents the service lifecycle for NLog.

public class NlogServiceLifecycle : IServiceLifecycle
Inheritance
NlogServiceLifecycle
Implements

Constructors

NlogServiceLifecycle(ILogger<NlogServiceLifecycle>)

Initializes a new instance of the NlogServiceLifecycle class.

Properties

StartOrder

Gets the start order of the service lifecycle.

StopOrder

Gets the stop order of the service lifecycle.

Methods

CanStop(CancellationToken)

Determines whether the service can be stopped.

Start(CancellationToken)

Starts the service.

Stop(CancellationToken)

Stops the service.