Files
2026-04-10 22:50:51 +02:00

125 lines
5.4 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Represents an attribute of a toolbox item.</summary>
// Token: 0x020001B7 RID: 439
[Token(Token = "0x20001B7")]
[AttributeUsage(AttributeTargets.All)]
public class ToolboxItemAttribute : Attribute
{
/// <summary>Gets a value indicating whether the current value of the attribute is the default value for the attribute.</summary>
/// <returns>
/// <see langword="true" /> if the current value of the attribute is the default; otherwise, <see langword="false" />.</returns>
// Token: 0x06000C03 RID: 3075 RVA: 0x00006858 File Offset: 0x00004A58
[Token(Token = "0x6000C03")]
[Address(RVA = "0x4D9E20", Offset = "0x4D8C20", VA = "0x1804D9E20", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ToolboxItemAttribute" /> class and specifies whether to use default initialization values.</summary>
/// <param name="defaultType">
/// <see langword="true" /> to create a toolbox item attribute for a default type; <see langword="false" /> to associate no default toolbox item support for this attribute.</param>
// Token: 0x06000C04 RID: 3076 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C04")]
[Address(RVA = "0x4DA080", Offset = "0x4D8E80", VA = "0x1804DA080")]
public ToolboxItemAttribute(bool defaultType)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ToolboxItemAttribute" /> class using the specified name of the type.</summary>
/// <param name="toolboxItemTypeName">The names of the type of the toolbox item and of the assembly that contains the type.</param>
// Token: 0x06000C05 RID: 3077 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C05")]
[Address(RVA = "0x4D9FF0", Offset = "0x4D8DF0", VA = "0x1804D9FF0")]
public ToolboxItemAttribute(string toolboxItemTypeName)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ToolboxItemAttribute" /> class using the specified type of the toolbox item.</summary>
/// <param name="toolboxItemType">The type of the toolbox item.</param>
// Token: 0x06000C06 RID: 3078 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C06")]
[Address(RVA = "0x4D9FA0", Offset = "0x4D8DA0", VA = "0x1804D9FA0")]
public ToolboxItemAttribute(Type toolboxItemType)
{
}
/// <summary>Gets or sets the type of the toolbox item.</summary>
/// <returns>The type of the toolbox item.</returns>
/// <exception cref="T:System.ArgumentException">The type cannot be found.</exception>
// Token: 0x17000232 RID: 562
// (get) Token: 0x06000C07 RID: 3079 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000232")]
public Type ToolboxItemType
{
[Token(Token = "0x6000C07")]
[Address(RVA = "0x4DA120", Offset = "0x4D8F20", VA = "0x1804DA120")]
get
{
return null;
}
}
/// <summary>Gets or sets the name of the type of the current <see cref="T:System.Drawing.Design.ToolboxItem" />.</summary>
/// <returns>The fully qualified type name of the current toolbox item.</returns>
// Token: 0x17000233 RID: 563
// (get) Token: 0x06000C08 RID: 3080 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000233")]
public string ToolboxItemTypeName
{
[Token(Token = "0x6000C08")]
[Address(RVA = "0x4DA0D0", Offset = "0x4D8ED0", VA = "0x1804DA0D0")]
get
{
return null;
}
}
/// <summary>Returns a value that indicates whether this instance is equal to a specified object.</summary>
/// <param name="obj">An <see cref="T:System.Object" /> to compare with this instance or a null reference (<see langword="Nothing" /> in Visual Basic).</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> equals the type and value of this instance; otherwise, <see langword="false" />.</returns>
// Token: 0x06000C09 RID: 3081 RVA: 0x00006870 File Offset: 0x00004A70
[Token(Token = "0x6000C09")]
[Address(RVA = "0x4D9CC0", Offset = "0x4D8AC0", VA = "0x1804D9CC0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06000C0A RID: 3082 RVA: 0x00006888 File Offset: 0x00004A88
[Token(Token = "0x6000C0A")]
[Address(RVA = "0x4D9DF0", Offset = "0x4D8BF0", VA = "0x1804D9DF0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x0400064D RID: 1613
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400064D")]
private Type toolboxItemType;
// Token: 0x0400064E RID: 1614
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400064E")]
private string toolboxItemTypeName;
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ToolboxItemAttribute" /> class and sets the type to the default, <see cref="T:System.Drawing.Design.ToolboxItem" />. This field is read-only.</summary>
// Token: 0x0400064F RID: 1615
[Token(Token = "0x400064F")]
public static readonly ToolboxItemAttribute Default;
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ToolboxItemAttribute" /> class and sets the type to <see langword="null" />. This field is read-only.</summary>
// Token: 0x04000650 RID: 1616
[Token(Token = "0x4000650")]
public static readonly ToolboxItemAttribute None;
}
}