CapyKit/Documentation/Help/M_CapyKit_CapyEventArgs__ctor.md
Jordan Wages 735d7c4c91 Documentation + Unfinished SecurityHelper
Committing the unfinished changes to the SecurityHelper as I flesh it out during the migration. Also starting a documentation folder powered by Sandcastle.
2024-04-19 23:12:24 -05:00

1.4 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.0+6cdd805be49c3b769a116584ea6904955ecd820d

C#

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

VB

Public Sub New ( 
	level As EventLevel,
	message As String,
	Optional method As String = Nothing
)

C++

public:
CapyEventArgs(
	EventLevel level, 
	String^ message, 
	String^ method = nullptr
)

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