Files
2026-04-10 22:50:51 +02:00

158 lines
9.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Configuration
{
/// <summary>Contains the value of a settings property that can be loaded and stored by an instance of <see cref="T:System.Configuration.SettingsBase" />.</summary>
// Token: 0x02000387 RID: 903
[Token(Token = "0x2000387")]
public class SettingsPropertyValue
{
/// <summary>Initializes a new instance of the <see cref="T:System.Configuration.SettingsPropertyValue" /> class, based on supplied parameters.</summary>
/// <param name="property">Specifies a <see cref="T:System.Configuration.SettingsProperty" /> object.</param>
// Token: 0x060017DB RID: 6107 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60017DB")]
[Address(RVA = "0x28ACAA0", Offset = "0x28AB8A0", VA = "0x1828ACAA0")]
public SettingsPropertyValue(SettingsProperty property)
{
}
/// <summary>Gets or sets whether the value of a <see cref="T:System.Configuration.SettingsProperty" /> object has been deserialized.</summary>
/// <returns>
/// <see langword="true" /> if the value of a <see cref="T:System.Configuration.SettingsProperty" /> object has been deserialized; otherwise, <see langword="false" />.</returns>
// Token: 0x17000517 RID: 1303
// (get) Token: 0x060017DC RID: 6108 RVA: 0x0000A6B0 File Offset: 0x000088B0
// (set) Token: 0x060017DD RID: 6109 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000517")]
public bool Deserialized
{
[Token(Token = "0x60017DC")]
[Address(RVA = "0x28ACAD0", Offset = "0x28AB8D0", VA = "0x1828ACAD0")]
get
{
return default(bool);
}
[Token(Token = "0x60017DD")]
[Address(RVA = "0x28ACC20", Offset = "0x28ABA20", VA = "0x1828ACC20")]
set
{
}
}
/// <summary>Gets or sets whether the value of a <see cref="T:System.Configuration.SettingsProperty" /> object has changed.</summary>
/// <returns>
/// <see langword="true" /> if the value of a <see cref="T:System.Configuration.SettingsProperty" /> object has changed; otherwise, <see langword="false" />.</returns>
// Token: 0x17000518 RID: 1304
// (get) Token: 0x060017DE RID: 6110 RVA: 0x0000A6C8 File Offset: 0x000088C8
// (set) Token: 0x060017DF RID: 6111 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000518")]
public bool IsDirty
{
[Token(Token = "0x60017DE")]
[Address(RVA = "0x28ACB00", Offset = "0x28AB900", VA = "0x1828ACB00")]
get
{
return default(bool);
}
[Token(Token = "0x60017DF")]
[Address(RVA = "0x28ACC50", Offset = "0x28ABA50", VA = "0x1828ACC50")]
set
{
}
}
/// <summary>Gets the name of the property from the associated <see cref="T:System.Configuration.SettingsProperty" /> object.</summary>
/// <returns>The name of the <see cref="T:System.Configuration.SettingsProperty" /> object.</returns>
// Token: 0x17000519 RID: 1305
// (get) Token: 0x060017E0 RID: 6112 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000519")]
public string Name
{
[Token(Token = "0x60017E0")]
[Address(RVA = "0x28ACB30", Offset = "0x28AB930", VA = "0x1828ACB30")]
get
{
return null;
}
}
/// <summary>Gets the <see cref="T:System.Configuration.SettingsProperty" /> object.</summary>
/// <returns>The <see cref="T:System.Configuration.SettingsProperty" /> object that describes the <see cref="T:System.Configuration.SettingsPropertyValue" /> object.</returns>
// Token: 0x1700051A RID: 1306
// (get) Token: 0x060017E1 RID: 6113 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700051A")]
public SettingsProperty Property
{
[Token(Token = "0x60017E1")]
[Address(RVA = "0x28ACB90", Offset = "0x28AB990", VA = "0x1828ACB90")]
get
{
return null;
}
}
/// <summary>Gets or sets the value of the <see cref="T:System.Configuration.SettingsProperty" /> object.</summary>
/// <returns>The value of the <see cref="T:System.Configuration.SettingsProperty" /> object. When this value is set, the <see cref="P:System.Configuration.SettingsPropertyValue.IsDirty" /> property is set to <see langword="true" /> and <see cref="P:System.Configuration.SettingsPropertyValue.UsingDefaultValue" /> is set to <see langword="false" />.
/// When a value is first accessed from the <see cref="P:System.Configuration.SettingsPropertyValue.PropertyValue" /> property, and if the value was initially stored into the <see cref="T:System.Configuration.SettingsPropertyValue" /> object as a serialized representation using the <see cref="P:System.Configuration.SettingsPropertyValue.SerializedValue" /> property, the <see cref="P:System.Configuration.SettingsPropertyValue.PropertyValue" /> property will trigger deserialization of the underlying value. As a side effect, the <see cref="P:System.Configuration.SettingsPropertyValue.Deserialized" /> property will be set to <see langword="true" />.
/// If this chain of events occurs in ASP.NET, and if an error occurs during the deserialization process, the error is logged using the health-monitoring feature of ASP.NET. By default, this means that deserialization errors will show up in the Application Event Log when running under ASP.NET. If this process occurs outside of ASP.NET, and if an error occurs during deserialization, the error is suppressed, and the remainder of the logic during deserialization occurs. If there is no serialized value to deserialize when the deserialization is attempted, then <see cref="T:System.Configuration.SettingsPropertyValue" /> object will instead attempt to return a default value if one was configured as defined on the associated <see cref="T:System.Configuration.SettingsProperty" /> instance. In this case, if the <see cref="P:System.Configuration.SettingsProperty.DefaultValue" /> property was set to either <see langword="null" />, or to the string "[null]", then the <see cref="T:System.Configuration.SettingsPropertyValue" /> object will initialize the <see cref="P:System.Configuration.SettingsPropertyValue.PropertyValue" /> property to either <see langword="null" /> for reference types, or to the default value for the associated value type. On the other hand, if <see cref="P:System.Configuration.SettingsProperty.DefaultValue" /> property holds a valid object reference or string value (other than "[null]"), then the <see cref="P:System.Configuration.SettingsProperty.DefaultValue" /> property is returned instead.
/// If there is no serialized value to deserialize when the deserialization is attempted, and no default value was specified, then an empty string will be returned for string types. For all other types, a default instance will be returned by calling <see cref="M:System.Activator.CreateInstance(System.Type)" /> - for reference types this means an attempt will be made to create an object instance using the default constructor. If this attempt fails, then <see langword="null" /> is returned.</returns>
/// <exception cref="T:System.ArgumentException">While attempting to use the default value from the <see cref="P:System.Configuration.SettingsProperty.DefaultValue" /> property, an error occurred. Either the attempt to convert <see cref="P:System.Configuration.SettingsProperty.DefaultValue" /> property to a valid type failed, or the resulting value was not compatible with the type defined by <see cref="P:System.Configuration.SettingsProperty.PropertyType" />.</exception>
// Token: 0x1700051B RID: 1307
// (get) Token: 0x060017E2 RID: 6114 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060017E3 RID: 6115 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700051B")]
public object PropertyValue
{
[Token(Token = "0x60017E2")]
[Address(RVA = "0x28ACB60", Offset = "0x28AB960", VA = "0x1828ACB60")]
get
{
return null;
}
[Token(Token = "0x60017E3")]
[Address(RVA = "0x28ACC80", Offset = "0x28ABA80", VA = "0x1828ACC80")]
set
{
}
}
/// <summary>Gets or sets the serialized value of the <see cref="T:System.Configuration.SettingsProperty" /> object.</summary>
/// <returns>The serialized value of a <see cref="T:System.Configuration.SettingsProperty" /> object.</returns>
/// <exception cref="T:System.ArgumentException">The serialization options for the property indicated the use of a string type converter, but a type converter was not available.</exception>
// Token: 0x1700051C RID: 1308
// (get) Token: 0x060017E4 RID: 6116 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060017E5 RID: 6117 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700051C")]
public object SerializedValue
{
[Token(Token = "0x60017E4")]
[Address(RVA = "0x28ACBC0", Offset = "0x28AB9C0", VA = "0x1828ACBC0")]
get
{
return null;
}
[Token(Token = "0x60017E5")]
[Address(RVA = "0x28ACCB0", Offset = "0x28ABAB0", VA = "0x1828ACCB0")]
set
{
}
}
/// <summary>Gets a Boolean value specifying whether the value of the <see cref="T:System.Configuration.SettingsPropertyValue" /> object is the default value as defined by the <see cref="P:System.Configuration.SettingsProperty.DefaultValue" /> property value on the associated <see cref="T:System.Configuration.SettingsProperty" /> object.</summary>
/// <returns>
/// <see langword="true" /> if the value of the <see cref="T:System.Configuration.SettingsProperty" /> object is the default value; otherwise, <see langword="false" />.</returns>
// Token: 0x1700051D RID: 1309
// (get) Token: 0x060017E6 RID: 6118 RVA: 0x0000A6E0 File Offset: 0x000088E0
[Token(Token = "0x1700051D")]
public bool UsingDefaultValue
{
[Token(Token = "0x60017E6")]
[Address(RVA = "0x28ACBF0", Offset = "0x28AB9F0", VA = "0x1828ACBF0")]
get
{
return default(bool);
}
}
}
}