Table of Contents

Interface BehaviorExceptionContext<TInstance, TException>

Namespace
Automatonymous
Assembly
Automatonymous.dll

An exceptional behavior context

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

Type Parameters

TInstance
TException
Inherited Members

Properties

Exception

TException Exception { get; }

Property Value

TException

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