Table of Contents

Class DataBehavior<TInstance, TData>

Namespace
Automatonymous.Behaviors
Assembly
Automatonymous.dll

Splits apart the data from the behavior so it can be invoked properly.

public class DataBehavior<TInstance, TData> : Behavior<TInstance, TData>, Visitable, IProbeSite

Type Parameters

TInstance

The instance type

TData

The event data type

Inheritance
DataBehavior<TInstance, TData>
Implements
Behavior<TInstance, TData>
IProbeSite
Inherited Members

Constructors

DataBehavior(Behavior<TInstance>)

public DataBehavior(Behavior<TInstance> behavior)

Parameters

behavior Behavior<TInstance>

Methods

Probe(ProbeContext)

public void Probe(ProbeContext context)

Parameters

context ProbeContext