Search code examples
c#workflow-foundation-4

Attributes Methods in WF


I'm trying to do a rehosted workflow. I have a DB with some data providers. All of these, have a provider name and a description. So in my project, I create a class as a provider with get and sets methods for this attributes. If is It possible that when I put in the textbox:

PROVIDER.

Display automatically NAME OR DESCRIPTION as the typical example of:

string i;

when you do:

 i.

Appear a menu with Clone, CompareTo, Contains.... methods....


Solution

  • What you're asking for is IntelliSense.

    Quick answer: yes, it is possible to do what you want.

    That being said, IntelliSense isn't natively supported on rehosted workflow designer. You'll have to implement IExpressionEditorService by yourself. It's a pretty complex and comprehensive task for it to work properly.

    You can start by reading these posts here and here.