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

42 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CapyEventArgs Constructor
Initializes a new instance of the CapyEventArgs class with the specified event level, message, and method name.
## Definition
**Namespace:** <a href="N_CapyKit.md">CapyKit</a>
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
**C#**
``` C#
public CapyEventArgs(
EventLevel level,
string message,
string method = null
)
```
**F#**
``` F#
new :
level : EventLevel *
message : string *
?method : string
(* Defaults:
let _method = defaultArg method null
*)
-> CapyEventArgs
```
#### Parameters
<dl><dt>  <a href="T_CapyKit_EventLevel.md">EventLevel</a></dt><dd>The severity level of the event.</dd><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a></dt><dd>A descriptive message explaining the reason for the event.</dd><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a>  (Optional)</dt><dd>The name of the method where the event was raised.</dd></dl>
## See Also
#### Reference
<a href="T_CapyKit_CapyEventArgs.md">CapyEventArgs Class</a>
<a href="N_CapyKit.md">CapyKit Namespace</a>