mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-11-13 19:53:36 -06:00
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
# 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>
|