Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Desktop Developer

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.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

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

Your profile

Search

XML Feeds

Google Ads

Tags: aaa syntax

comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

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...

Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

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...

Read More...