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
levelEventLevelThe severity level of the event.
messagestringA descriptive message explaining the reason for the event.
methodstringThe name of the method where the event was raised.
Properties
Level
Gets the severity level of the event.
public EventLevel Level { get; }
Property Value
Message
Gets the message describing the reason for the event.
public string Message { get; }
Property Value
MethodName
Gets the name of the method where the event was raised.
public string MethodName { get; }