Hi,
I hope this is the right place to post this.
I found on www.netfx3.com a sample workflow application and it has a section of code that was written in C#, we need it in vb. I have worked with delegates before, but never like this..
Dictionary<string, Activity> activityIdToActivity = new Dictionary<string, Activity>();
Walker walker = new Walker();
walker.FoundActivity += delegate(Walker skedWalker, WalkerEventArgs eventArgs)
{
Activity activity = eventArgs.CurrentActivity;
activityIdToActivity.Add(activity.QualifiedName, activity);
};
walker.Walk(root);
My questtion would be, how would i do this in VB. If you would like to see all the code download the sample from here http://wf.netfx3.com/files/folders/sample_applications/entry4074.aspx, Where i'm talkin about is in the WorkflowAdminService Project...ClassesRemoteFromHost.vb..Line 965...
Thanks,
Andrew