mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Sys.EventArgs definitions and tests
This commit is contained in:
@@ -234,6 +234,13 @@ function Sys_Browser_Tests() {
|
||||
|
||||
}
|
||||
|
||||
function Sys_EventArgs_Tests() {
|
||||
|
||||
var anEventArgs = new Sys.EventArgs();
|
||||
var eventArgs = anEventArgs.Empty;
|
||||
|
||||
}
|
||||
|
||||
function Sys_CancelEventArgs_Tests() {
|
||||
|
||||
var args = new Sys.CancelEventArgs();
|
||||
|
||||
Vendored
+4
@@ -1973,12 +1973,16 @@ declare module Sys {
|
||||
|
||||
/**
|
||||
* Provides a base class for classes that are used by event sources to pass event argument information.
|
||||
* The EventArgs class is a base class and not intended to be used directly. Override this constructor to provide specific functionality.
|
||||
* @see {@link http://msdn.microsoft.com/en-us/library/bb383795(v=vs.100).aspx}
|
||||
*/
|
||||
class EventArgs {
|
||||
|
||||
//#region Constructors
|
||||
|
||||
/**
|
||||
* Initializes a new instance of the EventArgs class.
|
||||
*/
|
||||
constructor();
|
||||
|
||||
//#endregion
|
||||
|
||||
Reference in New Issue
Block a user