using System;
namespace System.ComponentModel
{
/// Provides data for the event.
// Token: 0x020000BC RID: 188
public class RefreshEventArgs : EventArgs
{
/// Initializes a new instance of the class with the component that has changed.
/// The component that changed.
// Token: 0x06000652 RID: 1618 RVA: 0x00010AD0 File Offset: 0x0000ECD0
public RefreshEventArgs(object componentChanged)
{
if (componentChanged == null)
{
throw new ArgumentNullException("componentChanged");
}
this.component = componentChanged;
this.type = this.component.GetType();
}
/// Initializes a new instance of the class with the type of component that has changed.
/// The that changed.
// Token: 0x06000653 RID: 1619 RVA: 0x00010B04 File Offset: 0x0000ED04
public RefreshEventArgs(Type typeChanged)
{
this.type = typeChanged;
}
/// Gets the component that changed its properties, events, or extenders.
/// The component that changed its properties, events, or extenders, or null if all components of the same type have changed.
// Token: 0x170001A3 RID: 419
// (get) Token: 0x06000654 RID: 1620 RVA: 0x00010B14 File Offset: 0x0000ED14
public object ComponentChanged
{
get
{
return this.component;
}
}
/// Gets the that changed its properties or events.
/// The that changed its properties or events.
// Token: 0x170001A4 RID: 420
// (get) Token: 0x06000655 RID: 1621 RVA: 0x00010B1C File Offset: 0x0000ED1C
public Type TypeChanged
{
get
{
return this.type;
}
}
// Token: 0x040001D7 RID: 471
private object component;
// Token: 0x040001D8 RID: 472
private Type type;
}
}