using System;
namespace MonoGame.Extended.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(T item)
{
Item = item;
}
/// Obtains the collection item the event arguments are carrying
public T Item { get; }
}
}