Goto code from activity?

wf newbee question. Code activities work as expected, double click takes you to the code behind. Things like "ifelse" or "while" activities seem to have no way to get to the code behind. What gives Shouldn't they all work the same if they have code



Answer this question

Goto code from activity?

  • nature0276

    Because unlike the codeactivity - those activities can be hooked up to a RuleCondition or even a custom condition.

    I *suppose* they could detect if you had already created the delegate - but IMO RuleCOnditions are much more powerful - since they are easier to change , they are stored in a seperate file - and they lend themselves to XAML activity scenarios where code conditions don't.



  • Dmitry Shaporenkov

    That seems like maybe the difference. And I can agree that maybe you should use RuleConditions. However, if they are going to allow code, then there should be a natural way to take you to the code. Now, the only way to know where the code is, is to look at the method name and find it yourself. This still seems like a bug to me.
  • Goto code from activity?