94 lines
4.2 KiB
C#
94 lines
4.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies that the property can be used as an application setting.</summary>
|
|
// Token: 0x0200017A RID: 378
|
|
[Token(Token = "0x200017A")]
|
|
[Obsolete]
|
|
[Obsolete("Use System.ComponentModel.SettingsBindableAttribute instead to work with the new settings model.")]
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public class RecommendedAsConfigurableAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.RecommendedAsConfigurableAttribute" /> class.</summary>
|
|
/// <param name="recommendedAsConfigurable">
|
|
/// <see langword="true" /> if the property this attribute is bound to can be used as an application setting; otherwise, <see langword="false" />.</param>
|
|
// Token: 0x060009C4 RID: 2500 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60009C4")]
|
|
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
|
|
public RecommendedAsConfigurableAttribute(bool recommendedAsConfigurable)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the property this attribute is bound to can be used as an application setting.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the property this attribute is bound to can be used as an application setting; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170001EF RID: 495
|
|
// (get) Token: 0x060009C5 RID: 2501 RVA: 0x00005F58 File Offset: 0x00004158
|
|
[Token(Token = "0x170001EF")]
|
|
public bool RecommendedAsConfigurable
|
|
{
|
|
[Token(Token = "0x60009C5")]
|
|
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Indicates whether this instance and a specified object are equal.</summary>
|
|
/// <param name="obj">Another object to compare to.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if <paramref name="obj" /> is equal to this instance; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x060009C6 RID: 2502 RVA: 0x00005F70 File Offset: 0x00004170
|
|
[Token(Token = "0x60009C6")]
|
|
[Address(RVA = "0xC18640", Offset = "0xC17640", VA = "0x180C18640", 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.RecommendedAsConfigurableAttribute" />.</returns>
|
|
// Token: 0x060009C7 RID: 2503 RVA: 0x00005F88 File Offset: 0x00004188
|
|
[Token(Token = "0x60009C7")]
|
|
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Indicates whether the value of this instance is the default value for the class.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if this instance is the default attribute for the class; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x060009C8 RID: 2504 RVA: 0x00005FA0 File Offset: 0x000041A0
|
|
[Token(Token = "0x60009C8")]
|
|
[Address(RVA = "0xC186F0", Offset = "0xC176F0", VA = "0x180C186F0", Slot = "6")]
|
|
public override bool IsDefaultAttribute()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0400059A RID: 1434
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400059A")]
|
|
private bool recommendedAsConfigurable;
|
|
|
|
/// <summary>Specifies that a property cannot be used as an application setting. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400059B RID: 1435
|
|
[Token(Token = "0x400059B")]
|
|
public static readonly RecommendedAsConfigurableAttribute No;
|
|
|
|
/// <summary>Specifies that a property can be used as an application setting. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400059C RID: 1436
|
|
[Token(Token = "0x400059C")]
|
|
public static readonly RecommendedAsConfigurableAttribute Yes;
|
|
|
|
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.RecommendedAsConfigurableAttribute" />, which is <see cref="F:System.ComponentModel.RecommendedAsConfigurableAttribute.No" />. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400059D RID: 1437
|
|
[Token(Token = "0x400059D")]
|
|
public static readonly RecommendedAsConfigurableAttribute Default;
|
|
}
|
|
}
|