61 lines
2.1 KiB
C#
61 lines
2.1 KiB
C#
using System;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides data for the <see cref="E:System.ComponentModel.TypeDescriptor.Refreshed" /> event.</summary>
|
|
// Token: 0x020000BC RID: 188
|
|
public class RefreshEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.RefreshEventArgs" /> class with the component that has changed.</summary>
|
|
/// <param name="componentChanged">The component that changed. </param>
|
|
// 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();
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.RefreshEventArgs" /> class with the type of component that has changed.</summary>
|
|
/// <param name="typeChanged">The <see cref="T:System.Type" /> that changed. </param>
|
|
// Token: 0x06000653 RID: 1619 RVA: 0x00010B04 File Offset: 0x0000ED04
|
|
public RefreshEventArgs(Type typeChanged)
|
|
{
|
|
this.type = typeChanged;
|
|
}
|
|
|
|
/// <summary>Gets the component that changed its properties, events, or extenders.</summary>
|
|
/// <returns>The component that changed its properties, events, or extenders, or null if all components of the same type have changed.</returns>
|
|
// Token: 0x170001A3 RID: 419
|
|
// (get) Token: 0x06000654 RID: 1620 RVA: 0x00010B14 File Offset: 0x0000ED14
|
|
public object ComponentChanged
|
|
{
|
|
get
|
|
{
|
|
return this.component;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Type" /> that changed its properties or events.</summary>
|
|
/// <returns>The <see cref="T:System.Type" /> that changed its properties or events.</returns>
|
|
// 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;
|
|
}
|
|
}
|