115 lines
5.8 KiB
C#
115 lines
5.8 KiB
C#
using System;
|
|
using System.Reflection;
|
|
using System.Xml;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Configuration
|
|
{
|
|
/// <summary>Represents a configuration element within a configuration file.</summary>
|
|
// Token: 0x02000003 RID: 3
|
|
[Token(Token = "0x2000003")]
|
|
[DefaultMember("Item")]
|
|
public abstract class ConfigurationElement
|
|
{
|
|
/// <summary>Gets the collection of properties.</summary>
|
|
/// <returns>The <see cref="T:System.Configuration.ConfigurationPropertyCollection" /> of properties for the element.</returns>
|
|
// Token: 0x17000001 RID: 1
|
|
// (get) Token: 0x06000005 RID: 5 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x17000001")]
|
|
protected internal virtual ConfigurationPropertyCollection Properties
|
|
{
|
|
[Token(Token = "0x6000005")]
|
|
[Address(RVA = "0x122BB80", Offset = "0x122AB80", VA = "0x18122BB80", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Reads XML from the configuration file.</summary>
|
|
/// <param name="reader">The <see cref="T:System.Xml.XmlReader" /> that reads from the configuration file.</param>
|
|
/// <param name="serializeCollectionKey">
|
|
/// <see langword="true" /> to serialize only the collection key properties; otherwise, <see langword="false" />.</param>
|
|
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">The element to read is locked.
|
|
/// -or-
|
|
/// An attribute of the current node is not recognized.
|
|
/// -or-
|
|
/// The lock status of the current node cannot be determined.</exception>
|
|
// Token: 0x06000006 RID: 6 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000006")]
|
|
[Address(RVA = "0x122BA00", Offset = "0x122AA00", VA = "0x18122BA00", Slot = "5")]
|
|
protected internal virtual void DeserializeElement(XmlReader reader, bool serializeCollectionKey)
|
|
{
|
|
}
|
|
|
|
/// <summary>Used to initialize a default set of values for the <see cref="T:System.Configuration.ConfigurationElement" /> object.</summary>
|
|
// Token: 0x06000007 RID: 7 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000007")]
|
|
[Address(RVA = "0x122BA30", Offset = "0x122AA30", VA = "0x18122BA30", Slot = "6")]
|
|
protected internal virtual void InitializeDefault()
|
|
{
|
|
}
|
|
|
|
/// <summary>Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the element has been modified; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000008 RID: 8 RVA: 0x00002070 File Offset: 0x00000270
|
|
[Token(Token = "0x6000008")]
|
|
[Address(RVA = "0x122BA60", Offset = "0x122AA60", VA = "0x18122BA60", Slot = "7")]
|
|
protected internal virtual bool IsModified()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Called after deserialization.</summary>
|
|
// Token: 0x06000009 RID: 9 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000009")]
|
|
[Address(RVA = "0x122BA90", Offset = "0x122AA90", VA = "0x18122BA90", Slot = "8")]
|
|
protected virtual void PostDeserialize()
|
|
{
|
|
}
|
|
|
|
/// <summary>Resets the internal state of the <see cref="T:System.Configuration.ConfigurationElement" /> object, including the locks and the properties collections.</summary>
|
|
/// <param name="parentElement">The parent node of the configuration element.</param>
|
|
// Token: 0x0600000A RID: 10 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600000A")]
|
|
[Address(RVA = "0x122BAF0", Offset = "0x122AAF0", VA = "0x18122BAF0", Slot = "9")]
|
|
protected internal virtual void Reset(ConfigurationElement parentElement)
|
|
{
|
|
}
|
|
|
|
/// <summary>Resets the value of the <see cref="M:System.Configuration.ConfigurationElement.IsModified" /> method to <see langword="false" /> when implemented in a derived class.</summary>
|
|
// Token: 0x0600000B RID: 11 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600000B")]
|
|
[Address(RVA = "0x122BAC0", Offset = "0x122AAC0", VA = "0x18122BAC0", Slot = "10")]
|
|
protected internal virtual void ResetModified()
|
|
{
|
|
}
|
|
|
|
/// <summary>Writes the outer tags of this configuration element to the configuration file when implemented in a derived class.</summary>
|
|
/// <param name="writer">The <see cref="T:System.Xml.XmlWriter" /> that writes to the configuration file.</param>
|
|
/// <param name="elementName">The name of the <see cref="T:System.Configuration.ConfigurationElement" /> to be written.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if writing was successful; otherwise, <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.Exception">The element has multiple child elements.</exception>
|
|
// Token: 0x0600000C RID: 12 RVA: 0x00002088 File Offset: 0x00000288
|
|
[Token(Token = "0x600000C")]
|
|
[Address(RVA = "0x122BB20", Offset = "0x122AB20", VA = "0x18122BB20", Slot = "11")]
|
|
protected internal virtual bool SerializeToXmlElement(XmlWriter writer, string elementName)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Modifies the <see cref="T:System.Configuration.ConfigurationElement" /> object to remove all values that should not be saved.</summary>
|
|
/// <param name="sourceElement">A <see cref="T:System.Configuration.ConfigurationElement" /> at the current level containing a merged view of the properties.</param>
|
|
/// <param name="parentElement">The parent <see cref="T:System.Configuration.ConfigurationElement" />, or <see langword="null" /> if this is the top level.</param>
|
|
/// <param name="saveMode">One of the enumeration values that determines which property values to include.</param>
|
|
// Token: 0x0600000D RID: 13 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600000D")]
|
|
[Address(RVA = "0x122BB50", Offset = "0x122AB50", VA = "0x18122BB50", Slot = "12")]
|
|
protected internal virtual void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode)
|
|
{
|
|
}
|
|
}
|
|
}
|