Files
Apr2020-Cpp2Il-Dump/System/ComponentModel/ListBindableAttribute.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

106 lines
4.7 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies that a list can be used as a data source. A visual designer should use this attribute to determine whether to display a particular list in a data-binding picker. This class cannot be inherited.</summary>
// Token: 0x0200015D RID: 349
[Token(Token = "0x200015D")]
[AttributeUsage(AttributeTargets.All)]
public sealed class ListBindableAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ListBindableAttribute" /> class using a value to indicate whether the list is bindable.</summary>
/// <param name="listBindable">
/// <see langword="true" /> if the list is bindable; otherwise, <see langword="false" />.</param>
// Token: 0x0600085E RID: 2142 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600085E")]
[Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")]
public ListBindableAttribute(bool listBindable)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ListBindableAttribute" /> class using <see cref="T:System.ComponentModel.BindableSupport" /> to indicate whether the list is bindable.</summary>
/// <param name="flags">A <see cref="T:System.ComponentModel.BindableSupport" /> that indicates whether the list is bindable.</param>
// Token: 0x0600085F RID: 2143 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600085F")]
[Address(RVA = "0x4F2C50", Offset = "0x4F1A50", VA = "0x1804F2C50")]
public ListBindableAttribute(BindableSupport flags)
{
}
/// <summary>Gets whether the list is bindable.</summary>
/// <returns>
/// <see langword="true" /> if the list is bindable; otherwise, <see langword="false" />.</returns>
// Token: 0x1700018F RID: 399
// (get) Token: 0x06000860 RID: 2144 RVA: 0x00005190 File Offset: 0x00003390
[Token(Token = "0x1700018F")]
public bool ListBindable
{
[Token(Token = "0x6000860")]
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
get
{
return default(bool);
}
}
/// <summary>Returns whether the object passed is equal to this <see cref="T:System.ComponentModel.ListBindableAttribute" />.</summary>
/// <param name="obj">The object to test equality with.</param>
/// <returns>
/// <see langword="true" /> if the object passed is equal to this <see cref="T:System.ComponentModel.ListBindableAttribute" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000861 RID: 2145 RVA: 0x000051A8 File Offset: 0x000033A8
[Token(Token = "0x6000861")]
[Address(RVA = "0x4F2AB0", Offset = "0x4F18B0", VA = "0x1804F2AB0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.ListBindableAttribute" />.</returns>
// Token: 0x06000862 RID: 2146 RVA: 0x000051C0 File Offset: 0x000033C0
[Token(Token = "0x6000862")]
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Returns whether <see cref="P:System.ComponentModel.ListBindableAttribute.ListBindable" /> is set to the default value.</summary>
/// <returns>
/// <see langword="true" /> if <see cref="P:System.ComponentModel.ListBindableAttribute.ListBindable" /> is set to the default value; otherwise, <see langword="false" />.</returns>
// Token: 0x06000863 RID: 2147 RVA: 0x000051D8 File Offset: 0x000033D8
[Token(Token = "0x6000863")]
[Address(RVA = "0x4F2B30", Offset = "0x4F1930", VA = "0x1804F2B30", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// <summary>Specifies that the list is bindable. This <see langword="static" /> field is read-only.</summary>
// Token: 0x04000512 RID: 1298
[Token(Token = "0x4000512")]
public static readonly ListBindableAttribute Yes;
/// <summary>Specifies that the list is not bindable. This <see langword="static" /> field is read-only.</summary>
// Token: 0x04000513 RID: 1299
[Token(Token = "0x4000513")]
public static readonly ListBindableAttribute No;
/// <summary>Represents the default value for <see cref="T:System.ComponentModel.ListBindableAttribute" />.</summary>
// Token: 0x04000514 RID: 1300
[Token(Token = "0x4000514")]
public static readonly ListBindableAttribute Default;
// Token: 0x04000515 RID: 1301
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000515")]
private bool listBindable;
// Token: 0x04000516 RID: 1302
[FieldOffset(Offset = "0x11")]
[Token(Token = "0x4000516")]
private bool isDefault;
}
}