Click or drag to resize
Akka.NETTestKitBase.ActorOfAsTestFSMRef<TFsmActor, TState, TData> Method (Expression<Func<TFsmActor>>, String, Boolean)

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public TestFSMRef<TFsmActor, TState, TData> ActorOfAsTestFSMRef<TFsmActor, TState, TData>(
	Expression<Func<TFsmActor>> factory,
	string name = null,
	bool withLogging = false
)
where TFsmActor : FSM<TState, TData>

Parameters

factory
Type: System.Linq.Expressions.Expression<Func<TFsmActor>>
An expression that calls the constructor of TFsmActor
name (Optional)
Type: System.String
Optional: The name.
withLogging (Optional)
Type: System.Boolean
Optional: If set to true logs state changes of the FSM as Debug messages. Default is false.

Type Parameters

TFsmActor
The type of the actor.
TState
The type of state name
TData
The type of state data

Return Value

Type: TestFSMRef<TFsmActor, TState, TData>
TBD
See Also