Table of Contents

Delegate EventDelegate

Namespace
SampSharp.Entities
Assembly
SampSharp.OpenMp.Entities.dll

Invokes the next event handler with the specified event context.

public delegate object? EventDelegate(EventContext context)

Parameters

context EventContext

The event context.

Returns

object

The return value of the event.

Constructors

EventDelegate(object, nint)

public EventDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(EventContext, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(EventContext context, AsyncCallback callback, object @object)

Parameters

context EventContext
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual object? EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

object

Invoke(EventContext)

public virtual object? Invoke(EventContext context)

Parameters

context EventContext

Returns

object