using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides information about an event. // Token: 0x02000124 RID: 292 [Token(Token = "0x2000124")] [ComVisible(true)] public abstract class EventDescriptor : MemberDescriptor { /// Initializes a new instance of the class with the specified name and attribute array. /// The name of the event. /// An array of type that contains the event attributes. // Token: 0x0600072F RID: 1839 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600072F")] [Address(RVA = "0x4EC9D0", Offset = "0x4EB7D0", VA = "0x1804EC9D0")] protected EventDescriptor(string name, Attribute[] attrs) { } /// Initializes a new instance of the class with the name and attributes in the specified . /// A that contains the name of the event and its attributes. // Token: 0x06000730 RID: 1840 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000730")] [Address(RVA = "0x4EC9E0", Offset = "0x4EB7E0", VA = "0x1804EC9E0")] protected EventDescriptor(MemberDescriptor descr) { } /// Initializes a new instance of the class with the name in the specified and the attributes in both the and the array. /// A that has the name of the member and its attributes. /// An array with the attributes you want to add to this event description. // Token: 0x06000731 RID: 1841 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000731")] [Address(RVA = "0x4EC9F0", Offset = "0x4EB7F0", VA = "0x1804EC9F0")] protected EventDescriptor(MemberDescriptor descr, Attribute[] attrs) { } /// When overridden in a derived class, gets the type of component this event is bound to. /// A that represents the type of component the event is bound to. // Token: 0x17000149 RID: 329 // (get) Token: 0x06000732 RID: 1842 [Token(Token = "0x17000149")] public abstract Type ComponentType { [Token(Token = "0x6000732")] [Address(Slot = "17")] get; } /// When overridden in a derived class, gets the type of delegate for the event. /// A that represents the type of delegate for the event. // Token: 0x1700014A RID: 330 // (get) Token: 0x06000733 RID: 1843 [Token(Token = "0x1700014A")] public abstract Type EventType { [Token(Token = "0x6000733")] [Address(Slot = "18")] get; } /// When overridden in a derived class, gets a value indicating whether the event delegate is a multicast delegate. /// /// if the event delegate is multicast; otherwise, . // Token: 0x1700014B RID: 331 // (get) Token: 0x06000734 RID: 1844 [Token(Token = "0x1700014B")] public abstract bool IsMulticast { [Token(Token = "0x6000734")] [Address(Slot = "19")] get; } /// When overridden in a derived class, binds the event to the component. /// A component that provides events to the delegate. /// A delegate that represents the method that handles the event. // Token: 0x06000735 RID: 1845 [Token(Token = "0x6000735")] [Address(Slot = "20")] public abstract void AddEventHandler(object component, Delegate value); /// When overridden in a derived class, unbinds the delegate from the component so that the delegate will no longer receive events from the component. /// The component that the delegate is bound to. /// The delegate to unbind from the component. // Token: 0x06000736 RID: 1846 [Token(Token = "0x6000736")] [Address(Slot = "21")] public abstract void RemoveEventHandler(object component, Delegate value); } }