Class CapyEventArgs

Namespace
CapyKit
Assembly
CapyKit.dll

The CapyEventArgs class represents an event argument instance with event level, message, and method name information.

public class CapyEventArgs : EventArgs
Inheritance
CapyEventArgs
Inherited Members
Extension Methods

Constructors

CapyEventArgs(EventLevel, string, string)

Initializes a new instance of the CapyEventArgs class with the specified event level, message, and method name.

public CapyEventArgs(EventLevel level, string message, string method = null)

Parameters

level EventLevel

The severity level of the event.

message string

A descriptive message explaining the reason for the event.

method string

The name of the method where the event was raised.

Properties

Level

Gets the severity level of the event.

public EventLevel Level { get; }

Property Value

EventLevel

Message

Gets the message describing the reason for the event.

public string Message { get; }

Property Value

string

MethodName

Gets the name of the method where the event was raised.

public string MethodName { get; }

Property Value

string