Table of Contents

Class HealthChangedEvent

Namespace
CL.MySQL2.Events
Assembly
CL.MySQL2.dll

Published when the library's health state changes.

public record HealthChangedEvent : IEvent, IEquatable<HealthChangedEvent>
Inheritance
HealthChangedEvent
Implements
IEvent
Inherited Members

Constructors

HealthChangedEvent(string, bool, string, DateTime)

Published when the library's health state changes.

public HealthChangedEvent(string ConnectionId, bool IsHealthy, string Message, DateTime ChangedAt)

Parameters

ConnectionId string
IsHealthy bool
Message string
ChangedAt DateTime

Properties

ChangedAt

public DateTime ChangedAt { get; init; }

Property Value

DateTime

ConnectionId

public string ConnectionId { get; init; }

Property Value

string

IsHealthy

public bool IsHealthy { get; init; }

Property Value

bool

Message

public string Message { get; init; }

Property Value

string