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; }
 }
}

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>