Class PluginHealthChangedEventArgs
- Namespace
- DotCompute.Plugins.Interfaces
- Assembly
- DotCompute.Plugins.dll
Event arguments for plugin health changes.
public class PluginHealthChangedEventArgs : EventArgs
- Inheritance
-
PluginHealthChangedEventArgs
- Inherited Members
Constructors
PluginHealthChangedEventArgs(PluginHealth, PluginHealth, string?, Dictionary<string, object>?)
Event arguments for plugin health changes.
public PluginHealthChangedEventArgs(PluginHealth oldHealth, PluginHealth newHealth, string? reason = null, Dictionary<string, object>? healthData = null)
Parameters
oldHealthPluginHealthnewHealthPluginHealthreasonstringhealthDataDictionary<string, object>
Properties
HealthData
Gets the health data.
public Dictionary<string, object> HealthData { get; }
Property Value
- Dictionary<string, object>
The health data.
NewHealth
Creates new health.
public PluginHealth NewHealth { get; }
Property Value
- PluginHealth
The new health.
OldHealth
Gets the old health.
public PluginHealth OldHealth { get; }
Property Value
- PluginHealth
The old health.
Reason
Gets the reason.
public string? Reason { get; }
Property Value
- string
The reason.
Timestamp
Gets the timestamp.
public DateTime Timestamp { get; }
Property Value
- DateTime
The timestamp.