123 lines
4.8 KiB
C#
123 lines
4.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies that the designer for a class belongs to a certain category.</summary>
|
|
// Token: 0x02000115 RID: 277
|
|
[Token(Token = "0x2000115")]
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public sealed class DesignerCategoryAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DesignerCategoryAttribute" /> class with an empty string ("").</summary>
|
|
// Token: 0x060006D8 RID: 1752 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006D8")]
|
|
[Address(RVA = "0xC52FF0", Offset = "0xC51FF0", VA = "0x180C52FF0")]
|
|
public DesignerCategoryAttribute()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DesignerCategoryAttribute" /> class with the given category name.</summary>
|
|
/// <param name="category">The name of the category.</param>
|
|
// Token: 0x060006D9 RID: 1753 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006D9")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public DesignerCategoryAttribute(string category)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the name of the category.</summary>
|
|
/// <returns>The name of the category.</returns>
|
|
// Token: 0x17000135 RID: 309
|
|
// (get) Token: 0x060006DA RID: 1754 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000135")]
|
|
public string Category
|
|
{
|
|
[Token(Token = "0x60006DA")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a unique identifier for this attribute.</summary>
|
|
/// <returns>An <see cref="T:System.Object" /> that is a unique identifier for the attribute.</returns>
|
|
// Token: 0x17000136 RID: 310
|
|
// (get) Token: 0x060006DB RID: 1755 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000136")]
|
|
public override object TypeId
|
|
{
|
|
[Token(Token = "0x60006DB")]
|
|
[Address(RVA = "0xC53040", Offset = "0xC52040", VA = "0x180C53040", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.DesignOnlyAttribute" />.</summary>
|
|
/// <param name="obj">The object to test the value equality of.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the value of the given object is equal to that of the current; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x060006DC RID: 1756 RVA: 0x00004BA8 File Offset: 0x00002DA8
|
|
[Token(Token = "0x60006DC")]
|
|
[Address(RVA = "0xC52DC0", Offset = "0xC51DC0", VA = "0x180C52DC0", 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: 0x060006DD RID: 1757 RVA: 0x00004BC0 File Offset: 0x00002DC0
|
|
[Token(Token = "0x60006DD")]
|
|
[Address(RVA = "0x40F2B0", Offset = "0x40E2B0", VA = "0x18040F2B0", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Determines if this attribute is the default.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the attribute is the default value for this attribute class; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x060006DE RID: 1758 RVA: 0x00004BD8 File Offset: 0x00002DD8
|
|
[Token(Token = "0x60006DE")]
|
|
[Address(RVA = "0xC52E40", Offset = "0xC51E40", VA = "0x180C52E40", Slot = "6")]
|
|
public override bool IsDefaultAttribute()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x040004B6 RID: 1206
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40004B6")]
|
|
private string category;
|
|
|
|
// Token: 0x040004B7 RID: 1207
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40004B7")]
|
|
private string typeId;
|
|
|
|
/// <summary>Specifies that a component marked with this category use a component designer. This field is read-only.</summary>
|
|
// Token: 0x040004B8 RID: 1208
|
|
[Token(Token = "0x40004B8")]
|
|
public static readonly DesignerCategoryAttribute Component;
|
|
|
|
/// <summary>Specifies that a component marked with this category cannot use a visual designer. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x040004B9 RID: 1209
|
|
[Token(Token = "0x40004B9")]
|
|
public static readonly DesignerCategoryAttribute Default;
|
|
|
|
/// <summary>Specifies that a component marked with this category use a form designer. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x040004BA RID: 1210
|
|
[Token(Token = "0x40004BA")]
|
|
public static readonly DesignerCategoryAttribute Form;
|
|
|
|
/// <summary>Specifies that a component marked with this category use a generic designer. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x040004BB RID: 1211
|
|
[Token(Token = "0x40004BB")]
|
|
public static readonly DesignerCategoryAttribute Generic;
|
|
}
|
|
}
|