147 lines
6.4 KiB
C#
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: 0x020000EC RID: 236
|
|
[Token(Token = "0x20000EC")]
|
|
[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: 0x0600059B RID: 1435 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600059B")]
|
|
[Address(RVA = "0x494F80", Offset = "0x493D80", VA = "0x180494F80")]
|
|
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: 0x0600059C RID: 1436 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600059C")]
|
|
[Address(RVA = "0x495040", Offset = "0x493E40", VA = "0x180495040")]
|
|
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: 0x0600059D RID: 1437 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600059D")]
|
|
[Address(RVA = "0x495000", Offset = "0x493E00", VA = "0x180495000")]
|
|
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: 0x0600059E RID: 1438 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600059E")]
|
|
[Address(RVA = "0x494FB0", Offset = "0x493DB0", VA = "0x180494FB0")]
|
|
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: 0x170000E4 RID: 228
|
|
// (get) Token: 0x0600059F RID: 1439 RVA: 0x000042C0 File Offset: 0x000024C0
|
|
[Token(Token = "0x170000E4")]
|
|
public bool Bindable
|
|
{
|
|
[Token(Token = "0x600059F")]
|
|
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
|
|
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: 0x170000E5 RID: 229
|
|
// (get) Token: 0x060005A0 RID: 1440 RVA: 0x000042D8 File Offset: 0x000024D8
|
|
[Token(Token = "0x170000E5")]
|
|
public BindingDirection Direction
|
|
{
|
|
[Token(Token = "0x60005A0")]
|
|
[Address(RVA = "0x495080", Offset = "0x493E80", VA = "0x180495080")]
|
|
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: 0x060005A1 RID: 1441 RVA: 0x000042F0 File Offset: 0x000024F0
|
|
[Token(Token = "0x60005A1")]
|
|
[Address(RVA = "0x494DA0", Offset = "0x493BA0", VA = "0x180494DA0", 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: 0x060005A2 RID: 1442 RVA: 0x00004308 File Offset: 0x00002508
|
|
[Token(Token = "0x60005A2")]
|
|
[Address(RVA = "0x494E40", Offset = "0x493C40", VA = "0x180494E40", 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: 0x060005A3 RID: 1443 RVA: 0x00004320 File Offset: 0x00002520
|
|
[Token(Token = "0x60005A3")]
|
|
[Address(RVA = "0x494E50", Offset = "0x493C50", VA = "0x180494E50", 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: 0x04000451 RID: 1105
|
|
[Token(Token = "0x4000451")]
|
|
public static readonly BindableAttribute Yes;
|
|
|
|
/// <summary>Specifies that a property is not typically used for binding. This field is read-only.</summary>
|
|
// Token: 0x04000452 RID: 1106
|
|
[Token(Token = "0x4000452")]
|
|
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: 0x04000453 RID: 1107
|
|
[Token(Token = "0x4000453")]
|
|
public static readonly BindableAttribute Default;
|
|
|
|
// Token: 0x04000454 RID: 1108
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000454")]
|
|
private bool bindable;
|
|
|
|
// Token: 0x04000455 RID: 1109
|
|
[FieldOffset(Offset = "0x11")]
|
|
[Token(Token = "0x4000455")]
|
|
private bool isDefault;
|
|
|
|
// Token: 0x04000456 RID: 1110
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x4000456")]
|
|
private BindingDirection direction;
|
|
}
|
|
}
|