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: 0x0200017E RID: 382
|
|
[Token(Token = "0x200017E")]
|
|
[Obsolete]
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
[Obsolete("Use System.ComponentModel.SettingsBindableAttribute instead to work with the new settings model.")]
|
|
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: 0x060009DA RID: 2522 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60009DA")]
|
|
[Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")]
|
|
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: 0x170001F3 RID: 499
|
|
// (get) Token: 0x060009DB RID: 2523 RVA: 0x00005F70 File Offset: 0x00004170
|
|
[Token(Token = "0x170001F3")]
|
|
public bool RecommendedAsConfigurable
|
|
{
|
|
[Token(Token = "0x60009DB")]
|
|
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
|
|
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: 0x060009DC RID: 2524 RVA: 0x00005F88 File Offset: 0x00004188
|
|
[Token(Token = "0x60009DC")]
|
|
[Address(RVA = "0x4C8840", Offset = "0x4C7640", VA = "0x1804C8840", 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: 0x060009DD RID: 2525 RVA: 0x00005FA0 File Offset: 0x000041A0
|
|
[Token(Token = "0x60009DD")]
|
|
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", 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: 0x060009DE RID: 2526 RVA: 0x00005FB8 File Offset: 0x000041B8
|
|
[Token(Token = "0x60009DE")]
|
|
[Address(RVA = "0x4C88F0", Offset = "0x4C76F0", VA = "0x1804C88F0", Slot = "6")]
|
|
public override bool IsDefaultAttribute()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x040005A7 RID: 1447
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40005A7")]
|
|
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: 0x040005A8 RID: 1448
|
|
[Token(Token = "0x40005A8")]
|
|
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: 0x040005A9 RID: 1449
|
|
[Token(Token = "0x40005A9")]
|
|
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: 0x040005AA RID: 1450
|
|
[Token(Token = "0x40005AA")]
|
|
public static readonly RecommendedAsConfigurableAttribute Default;
|
|
}
|
|
}
|