mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* 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
39 lines
709 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|