Files
Dec2017-Script-Dump/System/ComponentModel/Design/IComponentChangeService.cs
T
2026-06-04 11:42:34 +02:00

68 lines
3.2 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides an interface to add and remove the event handlers for events that add, change, remove or rename components, and provides methods to raise a <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanged" /> or <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanging" /> event.</summary>
// Token: 0x02000046 RID: 70
[ComVisible(true)]
public interface IComponentChangeService
{
/// <summary>Occurs when a component has been added.</summary>
// Token: 0x14000001 RID: 1
// (add) Token: 0x060002D6 RID: 726
// (remove) Token: 0x060002D7 RID: 727
event ComponentEventHandler ComponentAdded;
/// <summary>Occurs when a component is in the process of being added.</summary>
// Token: 0x14000002 RID: 2
// (add) Token: 0x060002D8 RID: 728
// (remove) Token: 0x060002D9 RID: 729
event ComponentEventHandler ComponentAdding;
/// <summary>Occurs when a component has been changed.</summary>
// Token: 0x14000003 RID: 3
// (add) Token: 0x060002DA RID: 730
// (remove) Token: 0x060002DB RID: 731
event ComponentChangedEventHandler ComponentChanged;
/// <summary>Occurs when a component is in the process of being changed.</summary>
// Token: 0x14000004 RID: 4
// (add) Token: 0x060002DC RID: 732
// (remove) Token: 0x060002DD RID: 733
event ComponentChangingEventHandler ComponentChanging;
/// <summary>Occurs when a component has been removed.</summary>
// Token: 0x14000005 RID: 5
// (add) Token: 0x060002DE RID: 734
// (remove) Token: 0x060002DF RID: 735
event ComponentEventHandler ComponentRemoved;
/// <summary>Occurs when a component is in the process of being removed.</summary>
// Token: 0x14000006 RID: 6
// (add) Token: 0x060002E0 RID: 736
// (remove) Token: 0x060002E1 RID: 737
event ComponentEventHandler ComponentRemoving;
/// <summary>Occurs when a component is renamed.</summary>
// Token: 0x14000007 RID: 7
// (add) Token: 0x060002E2 RID: 738
// (remove) Token: 0x060002E3 RID: 739
event ComponentRenameEventHandler ComponentRename;
/// <summary>Announces to the component change service that a particular component has changed.</summary>
/// <param name="component">The component that has changed. </param>
/// <param name="member">The member that has changed. This is null if this change is not related to a single member. </param>
/// <param name="oldValue">The old value of the member. This is valid only if the member is not null. </param>
/// <param name="newValue">The new value of the member. This is valid only if the member is not null. </param>
// Token: 0x060002E4 RID: 740
void OnComponentChanged(object component, MemberDescriptor member, object oldValue, object newValue);
/// <summary>Announces to the component change service that a particular component is changing.</summary>
/// <param name="component">The component that is about to change. </param>
/// <param name="member">The member that is changing. This is null if this change is not related to a single member. </param>
// Token: 0x060002E5 RID: 741
void OnComponentChanging(object component, MemberDescriptor member);
}
}