-
Shortcut
-
eventargs
-
Description
-
Code snippet for event declaration and method for raising it
-
Language
-
csharp
-
Types
-
Expansion
-
Author
-
Fons Sonnemans
-
Upload on
-
13-2-2014 21:41:27
-
Downloads
-
2916
ID
|
ToolTip
|
Default
|
eventname
|
Event name, either NounVerbing or Verbing for pre-events, or NounVerbed or Verbed for post-events
|
NounVerbed
|
type
|
Property type
|
int
|
property
|
Property name
|
MyProperty
|
field
|
The variable backing this property
|
myField
|
public class $eventname$EventArgs : EventArgs {
private $type$ _$field$;
public $type$ $property$ {
get { return this._$field$; }
private set { this._$field$ = value; }
}
public $eventname$EventArgs($type$ $field$) {
this.$property$ = $field$;
}
}