Table of Contents

Interface BehaviorExceptionContext<TInstance, TData, TException>

Namespace
Automatonymous
Assembly
Automatonymous.dll

An exceptional behavior context

public interface BehaviorExceptionContext<out TInstance, out TData, out TException> : BehaviorContext<TInstance, TData>, EventContext<TInstance, TData>, BehaviorExceptionContext<TInstance, TException>, BehaviorContext<TInstance>, EventContext<TInstance>, InstanceContext<TInstance>, PipeContext where TException : Exception

Type Parameters

TInstance
TData
TException
Inherited Members

Methods

GetProxy<T>(Event<T>, T)

Return a proxy of the current behavior context with the specified event and data

BehaviorExceptionContext<out TInstance, T, out TException> GetProxy<T>(Event<T> @event, T data)

Parameters

event Event<T>

The event for the new context

data T

The data for the event

Returns

BehaviorExceptionContext<TInstance, T, TException>

Type Parameters

T

The data type