https://learn.microsoft.com/fr-fr/dotnet/api/system.runtime.serialization.idatacontractsurrogate?view=netframework-4.8.1&viewFallbackFrom=net-10.0
IDataContractSurrogate Interface (System.Runtime.Serialization) | Microsoft Learn
Provides the methods needed to substitute one type for another by the DataContractSerializer during serialization, deserialization, and export and import of...
interfacesystemruntimeserializationmicrosoft