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: 0x02000119 RID: 281
|
|
[Token(Token = "0x2000119")]
|
|
[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: 0x060006EE RID: 1774 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006EE")]
|
|
[Address(RVA = "0x4E8BE0", Offset = "0x4E79E0", VA = "0x1804E8BE0")]
|
|
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: 0x060006EF RID: 1775 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006EF")]
|
|
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
|
public DesignerCategoryAttribute(string category)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the name of the category.</summary>
|
|
/// <returns>The name of the category.</returns>
|
|
// Token: 0x17000139 RID: 313
|
|
// (get) Token: 0x060006F0 RID: 1776 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000139")]
|
|
public string Category
|
|
{
|
|
[Token(Token = "0x60006F0")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
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: 0x1700013A RID: 314
|
|
// (get) Token: 0x060006F1 RID: 1777 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700013A")]
|
|
public override object TypeId
|
|
{
|
|
[Token(Token = "0x60006F1")]
|
|
[Address(RVA = "0x4E8C30", Offset = "0x4E7A30", VA = "0x1804E8C30", 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: 0x060006F2 RID: 1778 RVA: 0x00004BC0 File Offset: 0x00002DC0
|
|
[Token(Token = "0x60006F2")]
|
|
[Address(RVA = "0x4E89B0", Offset = "0x4E77B0", VA = "0x1804E89B0", 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: 0x060006F3 RID: 1779 RVA: 0x00004BD8 File Offset: 0x00002DD8
|
|
[Token(Token = "0x60006F3")]
|
|
[Address(RVA = "0x4DA700", Offset = "0x4D9500", VA = "0x1804DA700", 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: 0x060006F4 RID: 1780 RVA: 0x00004BF0 File Offset: 0x00002DF0
|
|
[Token(Token = "0x60006F4")]
|
|
[Address(RVA = "0x4E8A30", Offset = "0x4E7830", VA = "0x1804E8A30", Slot = "6")]
|
|
public override bool IsDefaultAttribute()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x040004C3 RID: 1219
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40004C3")]
|
|
private string category;
|
|
|
|
// Token: 0x040004C4 RID: 1220
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40004C4")]
|
|
private string typeId;
|
|
|
|
/// <summary>Specifies that a component marked with this category use a component designer. This field is read-only.</summary>
|
|
// Token: 0x040004C5 RID: 1221
|
|
[Token(Token = "0x40004C5")]
|
|
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: 0x040004C6 RID: 1222
|
|
[Token(Token = "0x40004C6")]
|
|
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: 0x040004C7 RID: 1223
|
|
[Token(Token = "0x40004C7")]
|
|
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: 0x040004C8 RID: 1224
|
|
[Token(Token = "0x40004C8")]
|
|
public static readonly DesignerCategoryAttribute Generic;
|
|
}
|
|
}
|