Skip to content

RescueResetEventArgs ​

Namespace: Hex1b.Events

Assembly: Hex1b.dll

Event arguments for when a rescue widget is reset.

csharp
public sealed record RescueResetEventArgs : IEquatable<RescueResetEventArgs>

Inheritance ​

Object → RescueResetEventArgs

Implements ​

Constructors ​

RescueResetEventArgs(RescueWidget, RescueNode, Exception, RescueErrorPhase) ​

Event arguments for when a rescue widget is reset.

Parameters:

  • Widget (RescueWidget): The rescue widget being reset.
  • Node (RescueNode): The rescue node.
  • Exception (Exception): The exception that was previously caught (before reset).
  • Phase (RescueErrorPhase): The phase in which the error previously occurred.
csharp
public RescueResetEventArgs(RescueWidget Widget, RescueNode Node, Exception Exception, RescueErrorPhase Phase)

Properties ​

Exception ​

The exception that was previously caught (before reset).

Returns: Exception

csharp
public Exception Exception { get; init; }

Node ​

The rescue node.

Returns: RescueNode

csharp
public RescueNode Node { get; init; }

Phase ​

The phase in which the error previously occurred.

Returns: RescueErrorPhase

csharp
public RescueErrorPhase Phase { get; init; }

Widget ​

The rescue widget being reset.

Returns: RescueWidget

csharp
public RescueWidget Widget { get; init; }

Released under the MIT License.