Thanks a lot for posting such topic. The action overload with max 9 parameters is for VB 3.5 only where the support for lambda using sub is not available. In that case, we provide a separate visual basic assembly. But for VB 4 you don’t need it anymore and you can directly use Telerik.JustMock.dll as VB 4 subs fully support lambda. Just to note that you will only get these legacy options, if you are referencing Telerik.JustMock.VisualBasic.dll.
In short, for functions you can use the Function() keyword but for subs (void methods) you need to call it with address of.
But we will ponder over it whether to support legacy syntax like record-reply to tackle VB sub issue.
Hope that helps,
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items