Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Runtime/Serialization/SerializationBinder.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

43 lines
2.0 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Serialization
{
/// <summary>Allows users to control class loading and mandate what class to load.</summary>
// Token: 0x02000456 RID: 1110
[Token(Token = "0x2000456")]
[ComVisible(true)]
[Serializable]
public abstract class SerializationBinder
{
/// <summary>When overridden in a derived class, controls the binding of a serialized object to a type.</summary>
/// <param name="serializedType">The type of the object the formatter creates a new instance of.</param>
/// <param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly" /> name of the serialized object.</param>
/// <param name="typeName">Specifies the <see cref="T:System.Type" /> name of the serialized object.</param>
// Token: 0x0600250B RID: 9483 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600250B")]
[Address(RVA = "0xF2A2E0", Offset = "0xF290E0", VA = "0x180F2A2E0", Slot = "4")]
public virtual void BindToName(Type serializedType, out string assemblyName, out string typeName)
{
}
/// <summary>When overridden in a derived class, controls the binding of a serialized object to a type.</summary>
/// <param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly" /> name of the serialized object.</param>
/// <param name="typeName">Specifies the <see cref="T:System.Type" /> name of the serialized object.</param>
/// <returns>The type of the object the formatter creates a new instance of.</returns>
// Token: 0x0600250C RID: 9484
[Token(Token = "0x600250C")]
[Address(Slot = "5")]
public abstract Type BindToType(string assemblyName, string typeName);
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationBinder" /> class.</summary>
// Token: 0x0600250D RID: 9485 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600250D")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected SerializationBinder()
{
}
}
}