Class PluginStateChangedEventArgs
- Namespace
- DotCompute.Plugins.Interfaces
- Assembly
- DotCompute.Plugins.dll
Event arguments for plugin state changes.
public class PluginStateChangedEventArgs : EventArgs
- Inheritance
-
PluginStateChangedEventArgs
- Inherited Members
Constructors
PluginStateChangedEventArgs(PluginState, PluginState, string?)
Event arguments for plugin state changes.
public PluginStateChangedEventArgs(PluginState oldState, PluginState newState, string? reason = null)
Parameters
oldStatePluginStatenewStatePluginStatereasonstring
Properties
NewState
Creates new state.
public PluginState NewState { get; }
Property Value
- PluginState
The new state.
OldState
Gets the old state.
public PluginState OldState { get; }
Property Value
- PluginState
The old state.
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.