137 lines
5.4 KiB
C#
137 lines
5.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies the filter string and filter type to use for a toolbox item.</summary>
|
|
// Token: 0x0200018C RID: 396
|
|
[Token(Token = "0x200018C")]
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
[Serializable]
|
|
public sealed class ToolboxItemFilterAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ToolboxItemFilterAttribute" /> class using the specified filter string.</summary>
|
|
/// <param name="filterString">The filter string for the toolbox item.</param>
|
|
// Token: 0x06000A73 RID: 2675 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000A73")]
|
|
[Address(RVA = "0xC29EE0", Offset = "0xC28EE0", VA = "0x180C29EE0")]
|
|
public ToolboxItemFilterAttribute(string filterString)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ToolboxItemFilterAttribute" /> class using the specified filter string and type.</summary>
|
|
/// <param name="filterString">The filter string for the toolbox item.</param>
|
|
/// <param name="filterType">A <see cref="T:System.ComponentModel.ToolboxItemFilterType" /> indicating the type of the filter.</param>
|
|
// Token: 0x06000A74 RID: 2676 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000A74")]
|
|
[Address(RVA = "0xC29F60", Offset = "0xC28F60", VA = "0x180C29F60")]
|
|
public ToolboxItemFilterAttribute(string filterString, ToolboxItemFilterType filterType)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the filter string for the toolbox item.</summary>
|
|
/// <returns>The filter string for the toolbox item.</returns>
|
|
// Token: 0x1700020C RID: 524
|
|
// (get) Token: 0x06000A75 RID: 2677 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700020C")]
|
|
public string FilterString
|
|
{
|
|
[Token(Token = "0x6000A75")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the type of the filter.</summary>
|
|
/// <returns>A <see cref="T:System.ComponentModel.ToolboxItemFilterType" /> that indicates the type of the filter.</returns>
|
|
// Token: 0x1700020D RID: 525
|
|
// (get) Token: 0x06000A76 RID: 2678 RVA: 0x00006288 File Offset: 0x00004488
|
|
[Token(Token = "0x1700020D")]
|
|
public ToolboxItemFilterType FilterType
|
|
{
|
|
[Token(Token = "0x6000A76")]
|
|
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
|
|
get
|
|
{
|
|
return ToolboxItemFilterType.Allow;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the type ID for the attribute.</summary>
|
|
/// <returns>The type ID for this attribute. All <see cref="T:System.ComponentModel.ToolboxItemFilterAttribute" /> objects with the same filter string return the same type ID.</returns>
|
|
// Token: 0x1700020E RID: 526
|
|
// (get) Token: 0x06000A77 RID: 2679 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700020E")]
|
|
public override object TypeId
|
|
{
|
|
[Token(Token = "0x6000A77")]
|
|
[Address(RVA = "0xC29FF0", Offset = "0xC28FF0", VA = "0x180C29FF0", Slot = "4")]
|
|
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: 0x06000A78 RID: 2680 RVA: 0x000062A0 File Offset: 0x000044A0
|
|
[Token(Token = "0x6000A78")]
|
|
[Address(RVA = "0xC29C70", Offset = "0xC28C70", VA = "0x180C29C70", 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: 0x06000A79 RID: 2681 RVA: 0x000062B8 File Offset: 0x000044B8
|
|
[Token(Token = "0x6000A79")]
|
|
[Address(RVA = "0x52DDC0", Offset = "0x52CDC0", VA = "0x18052DDC0", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Indicates whether the specified object has a matching filter string.</summary>
|
|
/// <param name="obj">The object to test for a matching filter string.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the specified object has a matching filter string; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000A7A RID: 2682 RVA: 0x000062D0 File Offset: 0x000044D0
|
|
[Token(Token = "0x6000A7A")]
|
|
[Address(RVA = "0xC29D90", Offset = "0xC28D90", VA = "0x180C29D90", Slot = "5")]
|
|
public override bool Match(object obj)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns a string that represents the current object.</summary>
|
|
/// <returns>A string that represents the current object.</returns>
|
|
// Token: 0x06000A7B RID: 2683 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A7B")]
|
|
[Address(RVA = "0xC29E10", Offset = "0xC28E10", VA = "0x180C29E10", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040005E4 RID: 1508
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40005E4")]
|
|
private ToolboxItemFilterType filterType;
|
|
|
|
// Token: 0x040005E5 RID: 1509
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40005E5")]
|
|
private string filterString;
|
|
|
|
// Token: 0x040005E6 RID: 1510
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40005E6")]
|
|
private string typeId;
|
|
}
|
|
}
|