CapyKit/Documentation/Help/M_CapyKit_CapyEventArgs__ctor.md
2024-09-04 19:31:43 -05:00

1.2 KiB

CapyEventArgs Constructor

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

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.2

C#

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

F#

new : 
        level : EventLevel * 
        message : string * 
        ?method : string 
(* Defaults:
        let _method = defaultArg method null
*)
-> CapyEventArgs

Parameters

  EventLevel
The severity level of the event.
  String
A descriptive message explaining the reason for the event.
  String  (Optional)
The name of the method where the event was raised.

See Also

Reference

CapyEventArgs Class
CapyKit Namespace