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

76 lines
3.0 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies when a component property can be bound to an application setting.</summary>
// Token: 0x02000187 RID: 391
[Token(Token = "0x2000187")]
[AttributeUsage(AttributeTargets.Property)]
public sealed class SettingsBindableAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.SettingsBindableAttribute" /> class.</summary>
/// <param name="bindable">
/// <see langword="true" /> to specify that a property is appropriate to bind settings to; otherwise, <see langword="false" />.</param>
// Token: 0x06000A5C RID: 2652 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000A5C")]
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
public SettingsBindableAttribute(bool bindable)
{
}
/// <summary>Gets a value indicating whether a property is appropriate to bind settings to.</summary>
/// <returns>
/// <see langword="true" /> if the property is appropriate to bind settings to; otherwise, <see langword="false" />.</returns>
// Token: 0x17000209 RID: 521
// (get) Token: 0x06000A5D RID: 2653 RVA: 0x00006198 File Offset: 0x00004398
[Token(Token = "0x17000209")]
public bool Bindable
{
[Token(Token = "0x6000A5D")]
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
get
{
return default(bool);
}
}
/// <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: 0x06000A5E RID: 2654 RVA: 0x000061B0 File Offset: 0x000043B0
[Token(Token = "0x6000A5E")]
[Address(RVA = "0xC28220", Offset = "0xC27220", VA = "0x180C28220", 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: 0x06000A5F RID: 2655 RVA: 0x000061C8 File Offset: 0x000043C8
[Token(Token = "0x6000A5F")]
[Address(RVA = "0xA697A0", Offset = "0xA687A0", VA = "0x180A697A0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Specifies that a property is appropriate to bind settings to.</summary>
// Token: 0x040005E1 RID: 1505
[Token(Token = "0x40005E1")]
public static readonly SettingsBindableAttribute Yes;
/// <summary>Specifies that a property is not appropriate to bind settings to.</summary>
// Token: 0x040005E2 RID: 1506
[Token(Token = "0x40005E2")]
public static readonly SettingsBindableAttribute No;
// Token: 0x040005E3 RID: 1507
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40005E3")]
private bool _bindable;
}
}