CompositeEventActivity<TInstance> and GraphStateMachineVisitor<TInstance>
AlexanderRadko opened this issue · 0 comments
AlexanderRadko commented
GraphStateMachineVisitor has code that is impossible to execute.
inside method Visit(Activity activity, Action next)
system is trying to cast activity to CompositeEventActivity:
compositeActivity = activity as CompositeEventActivity;
but in case of registering composite event system creates FactoryActivity with CompositeEventActivity so cast is impossible and method GraphStateMachineVisitor.InspectCompositeEventActivity never executes