Files
27Aug2021-Cpp2IL-Dump/System/ComponentModel/BindableAttribute.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

147 lines
6.4 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies whether a member is typically used for binding. This class cannot be inherited.</summary>
// Token: 0x020000E8 RID: 232
[Token(Token = "0x20000E8")]
[AttributeUsage(AttributeTargets.All)]
public sealed class BindableAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.BindableAttribute" /> class with a Boolean value.</summary>
/// <param name="bindable">
/// <see langword="true" /> to use property for binding; otherwise, <see langword="false" />.</param>
// Token: 0x06000585 RID: 1413 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000585")]
[Address(RVA = "0xB91D00", Offset = "0xB90D00", VA = "0x180B91D00")]
public BindableAttribute(bool bindable)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.BindableAttribute" /> class.</summary>
/// <param name="bindable">
/// <see langword="true" /> to use property for binding; otherwise, <see langword="false" />.</param>
/// <param name="direction">One of the <see cref="T:System.ComponentModel.BindingDirection" /> values.</param>
// Token: 0x06000586 RID: 1414 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000586")]
[Address(RVA = "0xB91DC0", Offset = "0xB90DC0", VA = "0x180B91DC0")]
public BindableAttribute(bool bindable, BindingDirection direction)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.BindableAttribute" /> class with one of the <see cref="T:System.ComponentModel.BindableSupport" /> values.</summary>
/// <param name="flags">One of the <see cref="T:System.ComponentModel.BindableSupport" /> values.</param>
// Token: 0x06000587 RID: 1415 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000587")]
[Address(RVA = "0xB91D80", Offset = "0xB90D80", VA = "0x180B91D80")]
public BindableAttribute(BindableSupport flags)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.BindableAttribute" /> class.</summary>
/// <param name="flags">One of the <see cref="T:System.ComponentModel.BindableSupport" /> values.</param>
/// <param name="direction">One of the <see cref="T:System.ComponentModel.BindingDirection" /> values.</param>
// Token: 0x06000588 RID: 1416 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000588")]
[Address(RVA = "0xB91D30", Offset = "0xB90D30", VA = "0x180B91D30")]
public BindableAttribute(BindableSupport flags, BindingDirection direction)
{
}
/// <summary>Gets a value indicating that a property is typically used for binding.</summary>
/// <returns>
/// <see langword="true" /> if the property is typically used for binding; otherwise, <see langword="false" />.</returns>
// Token: 0x170000E0 RID: 224
// (get) Token: 0x06000589 RID: 1417 RVA: 0x000042A8 File Offset: 0x000024A8
[Token(Token = "0x170000E0")]
public bool Bindable
{
[Token(Token = "0x6000589")]
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating the direction or directions of this property's data binding.</summary>
/// <returns>The direction of this property's data binding.</returns>
// Token: 0x170000E1 RID: 225
// (get) Token: 0x0600058A RID: 1418 RVA: 0x000042C0 File Offset: 0x000024C0
[Token(Token = "0x170000E1")]
public BindingDirection Direction
{
[Token(Token = "0x600058A")]
[Address(RVA = "0x4936D0", Offset = "0x4926D0", VA = "0x1804936D0")]
get
{
return BindingDirection.OneWay;
}
}
/// <summary>Determines whether two <see cref="T:System.ComponentModel.BindableAttribute" /> objects are equal.</summary>
/// <param name="obj">The object to compare.</param>
/// <returns>
/// <see langword="true" /> if the specified <see cref="T:System.ComponentModel.BindableAttribute" /> is equal to the current <see cref="T:System.ComponentModel.BindableAttribute" />; <see langword="false" /> if it is not equal.</returns>
// Token: 0x0600058B RID: 1419 RVA: 0x000042D8 File Offset: 0x000024D8
[Token(Token = "0x600058B")]
[Address(RVA = "0xB91B30", Offset = "0xB90B30", VA = "0x180B91B30", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Serves as a hash function for the <see cref="T:System.ComponentModel.BindableAttribute" /> class.</summary>
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.BindableAttribute" />.</returns>
// Token: 0x0600058C RID: 1420 RVA: 0x000042F0 File Offset: 0x000024F0
[Token(Token = "0x600058C")]
[Address(RVA = "0xA697A0", Offset = "0xA687A0", VA = "0x180A697A0", 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: 0x0600058D RID: 1421 RVA: 0x00004308 File Offset: 0x00002508
[Token(Token = "0x600058D")]
[Address(RVA = "0xB91BD0", Offset = "0xB90BD0", VA = "0x180B91BD0", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// <summary>Specifies that a property is typically used for binding. This field is read-only.</summary>
// Token: 0x04000444 RID: 1092
[Token(Token = "0x4000444")]
public static readonly BindableAttribute Yes;
/// <summary>Specifies that a property is not typically used for binding. This field is read-only.</summary>
// Token: 0x04000445 RID: 1093
[Token(Token = "0x4000445")]
public static readonly BindableAttribute No;
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.BindableAttribute" />, which is <see cref="F:System.ComponentModel.BindableAttribute.No" />. This field is read-only.</summary>
// Token: 0x04000446 RID: 1094
[Token(Token = "0x4000446")]
public static readonly BindableAttribute Default;
// Token: 0x04000447 RID: 1095
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000447")]
private bool bindable;
// Token: 0x04000448 RID: 1096
[FieldOffset(Offset = "0x11")]
[Token(Token = "0x4000448")]
private bool isDefault;
// Token: 0x04000449 RID: 1097
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x4000449")]
private BindingDirection direction;
}
}