using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides information about an event. // Token: 0x02000120 RID: 288 [Token(Token = "0x2000120")] [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: 0x06000719 RID: 1817 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000719")] [Address(RVA = "0xC56DE0", Offset = "0xC55DE0", VA = "0x180C56DE0")] 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: 0x0600071A RID: 1818 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600071A")] [Address(RVA = "0xC56DF0", Offset = "0xC55DF0", VA = "0x180C56DF0")] 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: 0x0600071B RID: 1819 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600071B")] [Address(RVA = "0xC56E00", Offset = "0xC55E00", VA = "0x180C56E00")] 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: 0x17000145 RID: 325 // (get) Token: 0x0600071C RID: 1820 [Token(Token = "0x17000145")] public abstract Type ComponentType { [Token(Token = "0x600071C")] [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: 0x17000146 RID: 326 // (get) Token: 0x0600071D RID: 1821 [Token(Token = "0x17000146")] public abstract Type EventType { [Token(Token = "0x600071D")] [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: 0x17000147 RID: 327 // (get) Token: 0x0600071E RID: 1822 [Token(Token = "0x17000147")] public abstract bool IsMulticast { [Token(Token = "0x600071E")] [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: 0x0600071F RID: 1823 [Token(Token = "0x600071F")] [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: 0x06000720 RID: 1824 [Token(Token = "0x6000720")] [Address(Slot = "21")] public abstract void RemoveEventHandler(object component, Delegate value); } }