Table of Contents

Delegate UnhandledEventCallback<TInstance>

Namespace
Automatonymous
Assembly
Automatonymous.dll

Callback for an unhandled event in the state machine

public delegate Task UnhandledEventCallback<in TInstance>(UnhandledEventContext<in TInstance> context)

Parameters

context UnhandledEventContext<TInstance>

The event context

Returns

Task

Type Parameters

TInstance

The state machine instance type

Constructors

UnhandledEventCallback(object, nint)

public UnhandledEventCallback(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(UnhandledEventContext<TInstance>, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(UnhandledEventContext<in TInstance> context, AsyncCallback callback, object @object)

Parameters

context UnhandledEventContext<TInstance>
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual Task EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

Task

Invoke(UnhandledEventContext<TInstance>)

public virtual Task Invoke(UnhandledEventContext<in TInstance> context)

Parameters

context UnhandledEventContext<TInstance>

Returns

Task