using System; using System.Collections.Generic; namespace Nuclex.Support.Collections { /// /// Arguments class for collections wanting to hand over an item in an event /// public class ItemEventArgs : EventArgs { /// Initializes a new event arguments supplier /// Item to be supplied to the event handler public ItemEventArgs(ItemType item) { this.item = item; } /// Obtains the collection item the event arguments are carrying public ItemType Item { get { return this.item; } } /// Item to be passed to the event handler private ItemType item; } } // namespace Nuclex.Support.Collections