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

63 lines
3.8 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
namespace System.Xml.Serialization
{
/// <summary>Creates typed versions of the <see cref="T:System.Xml.Serialization.XmlSerializer" /> for more efficient serialization.</summary>
// Token: 0x02000149 RID: 329
[Token(Token = "0x2000149")]
public class XmlSerializerFactory
{
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlSerializerFactory" /> class. </summary>
// Token: 0x06000E44 RID: 3652 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E44")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public XmlSerializerFactory()
{
}
/// <summary>Returns a derivation of the <see cref="T:System.Xml.Serialization.XmlSerializerFactory" /> class that is used to serialize the specified type.</summary>
/// <param name="type">The <see cref="T:System.Type" /> to serialize.</param>
/// <returns>A derivation of the <see cref="T:System.Xml.Serialization.XmlSerializer" /> class that is specifically created to serialize the specified type.</returns>
// Token: 0x06000E45 RID: 3653 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E45")]
[Address(RVA = "0x68E2B0", Offset = "0x68D2B0", VA = "0x18068E2B0")]
public XmlSerializer CreateSerializer(Type type)
{
return null;
}
/// <summary>Returns a derivation of the <see cref="T:System.Xml.Serialization.XmlSerializer" /> class that can serialize objects of the specified type into XML documents, and vice versa. Specifies the object that represents the XML root element.</summary>
/// <param name="type">The <see cref="T:System.Type" /> to serialize.</param>
/// <param name="root">An <see cref="T:System.Xml.Serialization.XmlRootAttribute" /> that represents the XML root element.</param>
/// <returns>A derivation of the <see cref="T:System.Xml.Serialization.XmlSerializer" />.</returns>
// Token: 0x06000E46 RID: 3654 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E46")]
[Address(RVA = "0x68E2E0", Offset = "0x68D2E0", VA = "0x18068E2E0")]
public XmlSerializer CreateSerializer(Type type, XmlRootAttribute root)
{
return null;
}
/// <summary>Returns a derivation of the <see cref="T:System.Xml.Serialization.XmlSerializer" /> class that can serialize objects of the specified type into XML document instances, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. This overload also specifies the default namespace for all the XML elements, and the class to use as the XML root element.</summary>
/// <param name="type">The <see cref="T:System.Type" /> to serialize.</param>
/// <param name="overrides">An <see cref="T:System.Xml.Serialization.XmlAttributeOverrides" /> that contains fields that override the default serialization behavior.</param>
/// <param name="extraTypes">A <see cref="T:System.Type" /> array of additional object types to serialize.</param>
/// <param name="root">An <see cref="T:System.Xml.Serialization.XmlRootAttribute" /> that represents the XML root element.</param>
/// <param name="defaultNamespace">The default namespace of all XML elements in the XML document. </param>
/// <returns>A derivation of the <see cref="T:System.Xml.Serialization.XmlSerializer" />.</returns>
// Token: 0x06000E47 RID: 3655 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E47")]
[Address(RVA = "0x68E310", Offset = "0x68D310", VA = "0x18068E310")]
public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, string defaultNamespace)
{
return null;
}
// Token: 0x0400075A RID: 1882
[Token(Token = "0x400075A")]
private static Hashtable serializersBySource;
}
}