50 lines
1.9 KiB
C#
50 lines
1.9 KiB
C#
using System;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides data for the <see cref="E:System.Data.DataColumnCollection.CollectionChanged" /> event.</summary>
|
|
// Token: 0x02000062 RID: 98
|
|
public class CollectionChangeEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.CollectionChangeEventArgs" /> class.</summary>
|
|
/// <param name="action">One of the <see cref="T:System.ComponentModel.CollectionChangeAction" /> values that specifies how the collection changed. </param>
|
|
/// <param name="element">An <see cref="T:System.Object" /> that specifies the instance of the collection where the change occurred. </param>
|
|
// Token: 0x060003B6 RID: 950 RVA: 0x0000B6D0 File Offset: 0x000098D0
|
|
public CollectionChangeEventArgs(CollectionChangeAction action, object element)
|
|
{
|
|
this.changeAction = action;
|
|
this.theElement = element;
|
|
}
|
|
|
|
/// <summary>Gets an action that specifies how the collection changed.</summary>
|
|
/// <returns>One of the <see cref="T:System.ComponentModel.CollectionChangeAction" /> values.</returns>
|
|
// Token: 0x17000106 RID: 262
|
|
// (get) Token: 0x060003B7 RID: 951 RVA: 0x0000B6E8 File Offset: 0x000098E8
|
|
public virtual CollectionChangeAction Action
|
|
{
|
|
get
|
|
{
|
|
return this.changeAction;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the instance of the collection with the change.</summary>
|
|
/// <returns>An <see cref="T:System.Object" /> that represents the instance of the collection with the change, or null if you refresh the collection.</returns>
|
|
// 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;
|
|
}
|
|
}
|