oh dear
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.ComponentModel
|
||||
{
|
||||
/// <summary>Provides information about an event.</summary>
|
||||
// Token: 0x02000124 RID: 292
|
||||
[Token(Token = "0x2000124")]
|
||||
[ComVisible(true)]
|
||||
public abstract class EventDescriptor : MemberDescriptor
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.EventDescriptor" /> class with the specified name and attribute array.</summary>
|
||||
/// <param name="name">The name of the event.</param>
|
||||
/// <param name="attrs">An array of type <see cref="T:System.Attribute" /> that contains the event attributes.</param>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.EventDescriptor" /> class with the name and attributes in the specified <see cref="T:System.ComponentModel.MemberDescriptor" />.</summary>
|
||||
/// <param name="descr">A <see cref="T:System.ComponentModel.MemberDescriptor" /> that contains the name of the event and its attributes.</param>
|
||||
// Token: 0x06000730 RID: 1840 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000730")]
|
||||
[Address(RVA = "0x4EC9E0", Offset = "0x4EB7E0", VA = "0x1804EC9E0")]
|
||||
protected EventDescriptor(MemberDescriptor descr)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.EventDescriptor" /> class with the name in the specified <see cref="T:System.ComponentModel.MemberDescriptor" /> and the attributes in both the <see cref="T:System.ComponentModel.MemberDescriptor" /> and the <see cref="T:System.Attribute" /> array.</summary>
|
||||
/// <param name="descr">A <see cref="T:System.ComponentModel.MemberDescriptor" /> that has the name of the member and its attributes.</param>
|
||||
/// <param name="attrs">An <see cref="T:System.Attribute" /> array with the attributes you want to add to this event description.</param>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the type of component this event is bound to.</summary>
|
||||
/// <returns>A <see cref="T:System.Type" /> that represents the type of component the event is bound to.</returns>
|
||||
// Token: 0x17000149 RID: 329
|
||||
// (get) Token: 0x06000732 RID: 1842
|
||||
[Token(Token = "0x17000149")]
|
||||
public abstract Type ComponentType
|
||||
{
|
||||
[Token(Token = "0x6000732")]
|
||||
[Address(Slot = "17")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the type of delegate for the event.</summary>
|
||||
/// <returns>A <see cref="T:System.Type" /> that represents the type of delegate for the event.</returns>
|
||||
// Token: 0x1700014A RID: 330
|
||||
// (get) Token: 0x06000733 RID: 1843
|
||||
[Token(Token = "0x1700014A")]
|
||||
public abstract Type EventType
|
||||
{
|
||||
[Token(Token = "0x6000733")]
|
||||
[Address(Slot = "18")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets a value indicating whether the event delegate is a multicast delegate.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the event delegate is multicast; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x1700014B RID: 331
|
||||
// (get) Token: 0x06000734 RID: 1844
|
||||
[Token(Token = "0x1700014B")]
|
||||
public abstract bool IsMulticast
|
||||
{
|
||||
[Token(Token = "0x6000734")]
|
||||
[Address(Slot = "19")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, binds the event to the component.</summary>
|
||||
/// <param name="component">A component that provides events to the delegate.</param>
|
||||
/// <param name="value">A delegate that represents the method that handles the event.</param>
|
||||
// Token: 0x06000735 RID: 1845
|
||||
[Token(Token = "0x6000735")]
|
||||
[Address(Slot = "20")]
|
||||
public abstract void AddEventHandler(object component, Delegate value);
|
||||
|
||||
/// <summary>When overridden in a derived class, unbinds the delegate from the component so that the delegate will no longer receive events from the component.</summary>
|
||||
/// <param name="component">The component that the delegate is bound to.</param>
|
||||
/// <param name="value">The delegate to unbind from the component.</param>
|
||||
// Token: 0x06000736 RID: 1846
|
||||
[Token(Token = "0x6000736")]
|
||||
[Address(Slot = "21")]
|
||||
public abstract void RemoveEventHandler(object component, Delegate value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user