开发者

Get to the handled event instance in HandleExternalEventActivity

I have state machine, some state owns by HandleExternalEventActivity. It accepts some event with simple string flag. Basing on this string I need dispatch which next state must be activated. Most obvious is use IfElseActivity, but I have no开发者_JAVA技巧 idea how to get to this string from IfElse. Most simplest way to place property on entire state-machine, but I would like avoid on some reason.


Create a subclass of the HandleExternalEventActivity and add a dependency property to that. There is a command line utility WCA.exe which will create preconfigured activities base on your external data contracts and do exactly that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜