Ext..::..Emit<(Of <(<'TEventArgs>)>)> Method (EventHandler<(Of <(<'TEventArgs>)>)>, Object, TEventArgs)
Emits the specified EventHandler<TEventArgs> delegate if it isn't
nullNothingnullptra null reference (Nothing in Visual Basic).
Namespace:
WebSocketSharpAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static void Emit<TEventArgs>( EventHandler<TEventArgs> eventHandler, Object sender, TEventArgs e ) where TEventArgs : EventArgs
Public Shared Sub Emit(Of TEventArgs As EventArgs) ( _ eventHandler As EventHandler(Of TEventArgs), _ sender As Object, _ e As TEventArgs _ )
public: generic<typename TEventArgs> where TEventArgs : EventArgs static void Emit( EventHandler<TEventArgs>^ eventHandler, Object^ sender, TEventArgs e )
Type Parameters
- TEventArgs
- The type of the event data generated by the event.
Parameters
- eventHandler
- Type: EventHandler<(Of <(<'TEventArgs>)>)>
An EventHandler<TEventArgs> to emit.
- e
- Type: TEventArgs
A TEventArgs that represents the event data.