ObjectSharp Blogs

You are currently viewing

Dave Lloyd's 2 Cents

A .NET Developer's Perspective


December 2005 - Posts

The DataSource Attribute

You can use the DataSource attribute to call your TestMethod multiple times with different data each time. Lets say for example I have an order details table like the one in Northwind. OrderId ProductId UnitPrice Quantity Discount In your application Read More...

Delegates Delegates

Here is something you may not have noticed before. I'm sure you have utilized the following code to create an event handler in your code. VB.NET AddHandler MsgArrivedEvent, AddressOf My_MsgArrivedCallback C# MsgArrivedEvent += new MsgArrivedEventHandler(My_MsgArrivedEventCallback); Read More...