using System;
namespace JD.Collections
{
///
/// Event Args for the event.
///
public class CollectionChangedEventArgs : EventArgs
{
private readonly T m_item;
private readonly CollectionChangeAction m_action;
///
/// Constructor.
///
///
///
public CollectionChangedEventArgs(CollectionChangeAction action, T item)
{
m_item = item;
m_action = action;
}
///
/// Action.
///
public CollectionChangeAction Action
{
get
{
return m_action;
}
}
public T Item
{
get
{
return m_item;
}
}
}
}