using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// Provides data for the event. This class cannot be inherited.
// Token: 0x0200003E RID: 62
[ComVisible(true)]
public sealed class ComponentChangedEventArgs : EventArgs
{
/// Initializes a new instance of the class.
/// The component that was changed.
/// A that represents the member that was changed.
/// The old value of the changed member.
/// The new value of the changed member.
// Token: 0x060002A1 RID: 673 RVA: 0x0000966C File Offset: 0x0000786C
public ComponentChangedEventArgs(object component, MemberDescriptor member, object oldValue, object newValue)
{
this.component = component;
this.member = member;
this.oldValue = oldValue;
this.newValue = newValue;
}
/// Gets the component that was modified.
/// An that represents the component that was modified.
// Token: 0x170000BE RID: 190
// (get) Token: 0x060002A2 RID: 674 RVA: 0x00009694 File Offset: 0x00007894
public object Component
{
get
{
return this.component;
}
}
/// Gets the member that has been changed.
/// A that indicates the member that has been changed.
// Token: 0x170000BF RID: 191
// (get) Token: 0x060002A3 RID: 675 RVA: 0x0000969C File Offset: 0x0000789C
public MemberDescriptor Member
{
get
{
return this.member;
}
}
/// Gets the new value of the changed member.
/// The new value of the changed member. This property can be null.
// Token: 0x170000C0 RID: 192
// (get) Token: 0x060002A4 RID: 676 RVA: 0x000096A4 File Offset: 0x000078A4
public object NewValue
{
get
{
return this.oldValue;
}
}
/// Gets the old value of the changed member.
/// The old value of the changed member. This property can be null.
// Token: 0x170000C1 RID: 193
// (get) Token: 0x060002A5 RID: 677 RVA: 0x000096AC File Offset: 0x000078AC
public object OldValue
{
get
{
return this.newValue;
}
}
// Token: 0x040000BA RID: 186
private object component;
// Token: 0x040000BB RID: 187
private MemberDescriptor member;
// Token: 0x040000BC RID: 188
private object oldValue;
// Token: 0x040000BD RID: 189
private object newValue;
}
}