mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-10-18 15:01:52 -05:00
Jordan Wages
735d7c4c91
Committing the unfinished changes to the SecurityHelper as I flesh it out during the migration. Also starting a documentation folder powered by Sandcastle.
60 lines
1.4 KiB
Markdown
60 lines
1.4 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">CapyKit</a>
|
||
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d
|
||
|
||
**C#**
|
||
``` C#
|
||
public CapyEventArgs(
|
||
EventLevel level,
|
||
string message,
|
||
string method = null
|
||
)
|
||
```
|
||
**VB**
|
||
``` VB
|
||
Public Sub New (
|
||
level As EventLevel,
|
||
message As String,
|
||
Optional method As String = Nothing
|
||
)
|
||
```
|
||
**C++**
|
||
``` C++
|
||
public:
|
||
CapyEventArgs(
|
||
EventLevel level,
|
||
String^ message,
|
||
String^ method = nullptr
|
||
)
|
||
```
|
||
**F#**
|
||
``` F#
|
||
new :
|
||
level : EventLevel *
|
||
message : string *
|
||
?method : string
|
||
(* Defaults:
|
||
let _method = defaultArg method null
|
||
*)
|
||
-> CapyEventArgs
|
||
```
|
||
|
||
|
||
|
||
#### Parameters
|
||
<dl><dt> <a href="T_CapyKit_EventLevel">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">CapyEventArgs Class</a>
|
||
<a href="N_CapyKit">CapyKit Namespace</a>
|