Files
mono/mcs/class/System/System.ComponentModel/CollectionChangeEventArgs.cs
T
Rodrigo Moya 9e6ca819a3 2002-04-28 Rodrigo Moya <[email protected]>
* IListSource.cs:
	* ISupportInitialize.cs:
	* MarshalByValueComponent.cs: new stubs, needed for System.Data
	compilation.

	* PropertyChangedEventArgs.cs:
	* CollectionChangeEventHandler.cs:
	* CollectionChangeEventArgs.cs: implemented.

svn path=/trunk/mcs/; revision=4106
2002-04-28 13:11:25 +00:00

39 lines
709 B
C#

//
// System.ComponentModel.CollectionChangeEventArgs.cs
//
// Author:
// Rodrigo Moya ([email protected])
//
// (C) Ximian, Inc
//
namespace System.ComponentModel
{
/// <summary>
/// Provides data for the CollectionChanged event.
/// </summary>
public class CollectionChangeEventArgs : EventArgs
{
private CollectionChangeAction changeAction;
private object theElement;
public CollectionChangeEventArgs (CollectionChangeAction action,
object element) {
changeAction = action;
theElement = element;
}
public virtual CollectionChangeAction Action {
get {
return changeAction;
}
}
public virtual object Element {
get {
return theElement;
}
}
}
}