Table of Contents

Class HealthStatusChangedEventArgs

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Event arguments for health status changes.

public sealed class HealthStatusChangedEventArgs : EventArgs
Inheritance
HealthStatusChangedEventArgs
Inherited Members

Constructors

HealthStatusChangedEventArgs(HealthStatus, HealthStatus)

Creates new event arguments.

public HealthStatusChangedEventArgs(HealthStatus previousStatus, HealthStatus newStatus)

Parameters

previousStatus HealthStatus
newStatus HealthStatus

Properties

IsDegradation

Whether this is a degradation (status got worse).

public bool IsDegradation { get; }

Property Value

bool

IsRecovery

Whether this is a recovery (status improved).

public bool IsRecovery { get; }

Property Value

bool

NewStatus

The new health status.

public HealthStatus NewStatus { get; }

Property Value

HealthStatus

PreviousStatus

The previous health status.

public HealthStatus PreviousStatus { get; }

Property Value

HealthStatus