Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

01 Sep 2008

Presenting ItemEventArgs<T>

Because i believe in the DRY principle i decided to add a generic ItemEventArgs class to BeTimvwFramework

public class ItemEventArgs<T> : EventArgs
{
	private T item;

	public ItemEventArgs(T item)
	{
		this.item = item;
	}

	public T Item
	{
		get { return this.item; }
		set { this.item = value; }
	}
}