View Source
Delegate TypedEventHandler<TSender, TEventArgs>
Represents a typed event handler delegate with a specific sender and event arguments type.
Assembly: Umbraco.Core.dll
Syntax
public delegate void TypedEventHandler<in TSender, in TEventArgs>(TSender sender, TEventArgs e)
Parameters
| Type |
Name |
Description |
| TSender |
sender |
The source of the event.
|
| TEventArgs |
e |
The event arguments.
|
Type Parameters
| Name |
Description |
| TSender |
The type of the event sender.
|
| TEventArgs |
The type of the event arguments.
|
Constructors
View Source
TypedEventHandler(object, nint)
Declaration
public TypedEventHandler(object @object, nint method)
Parameters
| Type |
Name |
Description |
| object |
object |
|
| nint |
method |
|
Methods
View Source
BeginInvoke(TSender, TEventArgs, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(TSender sender, TEventArgs e, AsyncCallback callback, object @object)
Parameters
| Type |
Name |
Description |
| TSender |
sender |
|
| TEventArgs |
e |
|
| AsyncCallback |
callback |
|
| object |
object |
|
Returns
| Type |
Description |
| IAsyncResult |
|
View Source
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
| Type |
Name |
Description |
| IAsyncResult |
result |
|
View Source
Invoke(TSender, TEventArgs)
Declaration
public virtual void Invoke(TSender sender, TEventArgs e)
Parameters
| Type |
Name |
Description |
| TSender |
sender |
|
| TEventArgs |
e |
|