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

34 lines
1.8 KiB
C#

using System;
using System.Xml.Schema;
using Cpp2IlInjected;
namespace System.Xml.Serialization
{
/// <summary>Provides custom formatting for XML serialization and deserialization.</summary>
// Token: 0x02000110 RID: 272
[Token(Token = "0x2000110")]
public interface IXmlSerializable
{
/// <summary>This method is reserved and should not be used. When implementing the <see langword="IXmlSerializable" /> interface, you should return <see langword="null" /> (<see langword="Nothing" /> in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the <see cref="T:System.Xml.Serialization.XmlSchemaProviderAttribute" /> to the class.</summary>
/// <returns>An <see cref="T:System.Xml.Schema.XmlSchema" /> that describes the XML representation of the object that is produced by the <see cref="M:System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter)" /> method and consumed by the <see cref="M:System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader)" /> method.</returns>
// Token: 0x06000C8D RID: 3213
[Token(Token = "0x6000C8D")]
[Address(Slot = "0")]
XmlSchema GetSchema();
/// <summary>Generates an object from its XML representation.</summary>
/// <param name="reader">The <see cref="T:System.Xml.XmlReader" /> stream from which the object is deserialized. </param>
// Token: 0x06000C8E RID: 3214
[Token(Token = "0x6000C8E")]
[Address(Slot = "1")]
void ReadXml(XmlReader reader);
/// <summary>Converts an object into its XML representation.</summary>
/// <param name="writer">The <see cref="T:System.Xml.XmlWriter" /> stream to which the object is serialized. </param>
// Token: 0x06000C8F RID: 3215
[Token(Token = "0x6000C8F")]
[Address(Slot = "2")]
void WriteXml(XmlWriter writer);
}
}