using System;
namespace System.ComponentModel
{
/// Provides data for the event.
// Token: 0x02000062 RID: 98
public class CollectionChangeEventArgs : EventArgs
{
/// Initializes a new instance of the class.
/// One of the values that specifies how the collection changed.
/// An that specifies the instance of the collection where the change occurred.
// Token: 0x060003B6 RID: 950 RVA: 0x0000B6D0 File Offset: 0x000098D0
public CollectionChangeEventArgs(CollectionChangeAction action, object element)
{
this.changeAction = action;
this.theElement = element;
}
/// Gets an action that specifies how the collection changed.
/// One of the values.
// Token: 0x17000106 RID: 262
// (get) Token: 0x060003B7 RID: 951 RVA: 0x0000B6E8 File Offset: 0x000098E8
public virtual CollectionChangeAction Action
{
get
{
return this.changeAction;
}
}
/// Gets the instance of the collection with the change.
/// An that represents the instance of the collection with the change, or null if you refresh the collection.
// Token: 0x17000107 RID: 263
// (get) Token: 0x060003B8 RID: 952 RVA: 0x0000B6F0 File Offset: 0x000098F0
public virtual object Element
{
get
{
return this.theElement;
}
}
// Token: 0x04000140 RID: 320
private CollectionChangeAction changeAction;
// Token: 0x04000141 RID: 321
private object theElement;
}
}