Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x020001B3 RID: 435
[Token(Token = "0x20001B3")]
[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: 0x06000BED RID: 3053 RVA: 0x00006840 File Offset: 0x00004A40
[Token(Token = "0x6000BED")]
[Address(RVA = "0xC29800", Offset = "0xC28800", VA = "0x180C29800", 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: 0x06000BEE RID: 3054 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BEE")]
[Address(RVA = "0xC29A60", Offset = "0xC28A60", VA = "0x180C29A60")]
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: 0x06000BEF RID: 3055 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BEF")]
[Address(RVA = "0xC299D0", Offset = "0xC289D0", VA = "0x180C299D0")]
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: 0x06000BF0 RID: 3056 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BF0")]
[Address(RVA = "0xC29980", Offset = "0xC28980", VA = "0x180C29980")]
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: 0x1700022E RID: 558
// (get) Token: 0x06000BF1 RID: 3057 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700022E")]
public Type ToolboxItemType
{
[Token(Token = "0x6000BF1")]
[Address(RVA = "0xC29B00", Offset = "0xC28B00", VA = "0x180C29B00")]
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: 0x1700022F RID: 559
// (get) Token: 0x06000BF2 RID: 3058 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700022F")]
public string ToolboxItemTypeName
{
[Token(Token = "0x6000BF2")]
[Address(RVA = "0xC29AB0", Offset = "0xC28AB0", VA = "0x180C29AB0")]
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: 0x06000BF3 RID: 3059 RVA: 0x00006858 File Offset: 0x00004A58
[Token(Token = "0x6000BF3")]
[Address(RVA = "0xC296A0", Offset = "0xC286A0", VA = "0x180C296A0", 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: 0x06000BF4 RID: 3060 RVA: 0x00006870 File Offset: 0x00004A70
[Token(Token = "0x6000BF4")]
[Address(RVA = "0xC297D0", Offset = "0xC287D0", VA = "0x180C297D0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04000640 RID: 1600
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000640")]
private Type toolboxItemType;
// Token: 0x04000641 RID: 1601
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000641")]
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: 0x04000642 RID: 1602
[Token(Token = "0x4000642")]
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: 0x04000643 RID: 1603
[Token(Token = "0x4000643")]
public static readonly ToolboxItemAttribute None;
}
}