below I have some code snippet from a exercise I'm working through in Microsoft-Windows-Workflow-4-0-cookbook. I don't understand the lambda statement. What is aec in the following context (aec=>testClass). The tool tip states that is a activity context. What is it purpose?
TestClass testClass = new TestClass();
Variable<string> resultValue = new Variable<string>();
return new Sequence()
{
Variables = { resultValue },
Activities = {
new WriteLine() {Text = "... Invoke void Method()"},
new InvokeMethod() { TargetObject = new InArgument<TestClass> (aec=>testClass),
MethodName = "Method", },