IDeserializer
interface IDeserializer
Interface for deserialization used to define the coupling between the main Deserializer
and its ObjectRecordDeserializers.
using System.Collections.Generic;
using System.Formats.Nrbf;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace System.Private.Windows.BinaryFormat
{
[NullableContext(1)]
internal interface IDeserializer
{
DeserializationOptions Options { get; }
HashSet<SerializationRecordId> IncompleteObjects { get; }
IDictionary<SerializationRecordId, object> DeserializedObjects { get; }
ITypeResolver TypeResolver { get; }
void PendValueUpdater(ValueUpdater updater);
void PendSerializationInfo(PendingSerializationInfo pending);
void CompleteObject(SerializationRecordId id);
[return: Nullable(2)]
ISerializationSurrogate GetSurrogate(Type type);
}
}