Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
Your profile
Tag cloud
.net .net 3.5 .net 4.0 2003 access modifiers beginners book buildup c# excel f# linq microsoft reporting engine nhibernate nhprof nunit programming reflection reportviewer resharper rhino mocks structuremap threading unit testing vb.net vb.net. visual studio 2010 windows forms windows presentation foundation wpf
Authors
- chrissie1 (122)

- SQLDenis (17)

- Alex Ullrich (8)

- chaospandion (4)

- George Mastros (1)

- chopstik (1)

- tarwn (1)

- remou (1)

- More...
Main Categories
Search
Google Ads
Tags: aaa syntax
This is the VB.Net version of "Rhino mocks and raising an event that has parameters and the AAA syntax" which was the C# version. I'm not saying it's perfect but it works. Well most things are pretty good except the AddingHandler functions. I'm pretty sure I could get that down to one function. But I have spent enough time on this already. All tests pass.
And here is the code. The explenation is pretty much the same as the previous post. Excpet for some VB.Net lambda weird...
Testing things with Rhino mocks and the AAA syntax is simple. But sometimes I need a reminder of the correct syntax. And sometimes the result is not what I would expect. But then that's what my users say about my programs too ;-).
I wrote a little testcase to see if I could reproduce the same result. And like I said before Rhino moccks' AAA syntax is much easier to use in C# but I will make a VB.Net version for this too. So don't worry.
The problem is understanding the difference between raising an event that has a delegate without parameters and raising a...


LTD Social Sitings
Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.