Click or drag to resize

ExtEmitTEventArgs Method (EventHandlerTEventArgs, Object, TEventArgs)

Emits the specified EventHandler<TEventArgs> delegate if it isn't .

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static void Emit<TEventArgs>(
	this EventHandler<TEventArgs> eventHandler,
	Object sender,
	TEventArgs e
)
where TEventArgs : EventArgs

Parameters

eventHandler
Type: SystemEventHandlerTEventArgs
An EventHandler<TEventArgs> to emit.
sender
Type: SystemObject
An Object from which emits this eventHandler.
e
Type: TEventArgs
A TEventArgs that represents the event data.

Type Parameters

TEventArgs
The type of the event data generated by the event.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EventHandlerTEventArgs. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also