blob: 91a730bcd59a1e6459689d60c7b8d0a9aa1b8966 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# System.Runtime.Serialization
``` diff
namespace System.Runtime.Serialization {
public class ExportOptions {
+ public ISerializationSurrogateProvider DataContractSurrogate { get; set; }
}
+ public interface ISerializationSurrogateProvider2 : ISerializationSurrogateProvider {
+ object? GetCustomDataToExport(MemberInfo memberInfo, Type dataContractType);
+ object? GetCustomDataToExport(Type runtimeType, Type dataContractType);
+ void GetKnownCustomDataTypes(Collection<Type> customDataTypes);
+ Type? GetReferencedTypeOnImport(string typeName, string typeNamespace, object? customData);
+ }
}
```
|