-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ISerializationSurrogateProvider2.xml
154 lines (154 loc) · 11.5 KB
/
ISerializationSurrogateProvider2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<Type Name="ISerializationSurrogateProvider2" FullName="System.Runtime.Serialization.ISerializationSurrogateProvider2">
<TypeSignature Language="C#" Value="public interface ISerializationSurrogateProvider2 : System.Runtime.Serialization.ISerializationSurrogateProvider" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ISerializationSurrogateProvider2 implements class System.Runtime.Serialization.ISerializationSurrogateProvider" FrameworkAlternate="net-7.0" />
<TypeSignature Language="DocId" Value="T:System.Runtime.Serialization.ISerializationSurrogateProvider2" />
<TypeSignature Language="VB.NET" Value="Public Interface ISerializationSurrogateProvider2
Implements ISerializationSurrogateProvider" />
<TypeSignature Language="F#" Value="type ISerializationSurrogateProvider2 = interface
 interface ISerializationSurrogateProvider" />
<TypeSignature Language="C++ CLI" Value="public interface class ISerializationSurrogateProvider2 : System::Runtime::Serialization::ISerializationSurrogateProvider" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit ISerializationSurrogateProvider2 implements class System.Runtime.Serialization.ISerializationSurrogateProvider" FrameworkAlternate="net-8.0;net-9.0" />
<AssemblyInfo>
<AssemblyName>System.Runtime.Serialization.Primitives</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.Runtime.Serialization.ISerializationSurrogateProvider</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides the methods needed to substitute one type for another by DataContractSerializer during export and import of XML schema documents (XSD). This interface builds upon <see cref="T:System.Runtime.Serialization.ISerializationSurrogateProvider" />.</summary>
<remarks>Together with <c>ISerializationCodeDomSurrogateProvider</c>, these interfaces replace the <c>IDataContractSurrogate</c> interface from .NET Framework 4.8.</remarks>
</Docs>
<Members>
<Member MemberName="GetCustomDataToExport">
<MemberSignature Language="C#" Value="public object? GetCustomDataToExport (System.Reflection.MemberInfo memberInfo, Type dataContractType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object GetCustomDataToExport(class System.Reflection.MemberInfo memberInfo, class System.Type dataContractType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Serialization.ISerializationSurrogateProvider2.GetCustomDataToExport(System.Reflection.MemberInfo,System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Function GetCustomDataToExport (memberInfo As MemberInfo, dataContractType As Type) As Object" />
<MemberSignature Language="F#" Value="abstract member GetCustomDataToExport : System.Reflection.MemberInfo * Type -> obj" Usage="iSerializationSurrogateProvider2.GetCustomDataToExport (memberInfo, dataContractType)" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ GetCustomDataToExport(System::Reflection::MemberInfo ^ memberInfo, Type ^ dataContractType);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.Serialization.Primitives</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="memberInfo" Type="System.Reflection.MemberInfo" />
<Parameter Name="dataContractType" Type="System.Type" />
</Parameters>
<Docs>
<param name="memberInfo">A <see cref="T:System.Reflection.MemberInfo" /> that describes the member.</param>
<param name="dataContractType">The data contract type to be annotated.</param>
<summary>During schema export operations, inserts annotations into the schema for non-<see langword="null" /> return values.</summary>
<returns>An object that represents the annotation to be inserted into the XML schema definition.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetCustomDataToExport">
<MemberSignature Language="C#" Value="public object? GetCustomDataToExport (Type runtimeType, Type dataContractType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object GetCustomDataToExport(class System.Type runtimeType, class System.Type dataContractType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Serialization.ISerializationSurrogateProvider2.GetCustomDataToExport(System.Type,System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Function GetCustomDataToExport (runtimeType As Type, dataContractType As Type) As Object" />
<MemberSignature Language="F#" Value="abstract member GetCustomDataToExport : Type * Type -> obj" Usage="iSerializationSurrogateProvider2.GetCustomDataToExport (runtimeType, dataContractType)" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ GetCustomDataToExport(Type ^ runtimeType, Type ^ dataContractType);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.Serialization.Primitives</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="runtimeType" Type="System.Type" />
<Parameter Name="dataContractType" Type="System.Type" />
</Parameters>
<Docs>
<param name="runtimeType">The runtime type to be replaced.</param>
<param name="dataContractType">The data contract type to be annotated.</param>
<summary>During schema export operations, inserts annotations into the schema for non-<see langword="null" /> return values.</summary>
<returns>An object that represents the annotation to be inserted into the XML schema definition.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetKnownCustomDataTypes">
<MemberSignature Language="C#" Value="public void GetKnownCustomDataTypes (System.Collections.ObjectModel.Collection<Type> customDataTypes);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetKnownCustomDataTypes(class System.Collections.ObjectModel.Collection`1<class System.Type> customDataTypes) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Serialization.ISerializationSurrogateProvider2.GetKnownCustomDataTypes(System.Collections.ObjectModel.Collection{System.Type})" />
<MemberSignature Language="VB.NET" Value="Public Sub GetKnownCustomDataTypes (customDataTypes As Collection(Of Type))" />
<MemberSignature Language="F#" Value="abstract member GetKnownCustomDataTypes : System.Collections.ObjectModel.Collection<Type> -> unit" Usage="iSerializationSurrogateProvider2.GetKnownCustomDataTypes customDataTypes" />
<MemberSignature Language="C++ CLI" Value="public:
 void GetKnownCustomDataTypes(System::Collections::ObjectModel::Collection<Type ^> ^ customDataTypes);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.Serialization.Primitives</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="customDataTypes" Type="System.Collections.ObjectModel.Collection<System.Type>" />
</Parameters>
<Docs>
<param name="customDataTypes">A collection of <see cref="T:System.Type" /> instances to add known types to.</param>
<summary>Sets the collection of known types to use for serialization and deserialization of the custom data objects.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetReferencedTypeOnImport">
<MemberSignature Language="C#" Value="public Type? GetReferencedTypeOnImport (string typeName, string typeNamespace, object? customData);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Serialization.ISerializationSurrogateProvider2.GetReferencedTypeOnImport(System.String,System.String,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function GetReferencedTypeOnImport (typeName As String, typeNamespace As String, customData As Object) As Type" />
<MemberSignature Language="F#" Value="abstract member GetReferencedTypeOnImport : string * string * obj -> Type" Usage="iSerializationSurrogateProvider2.GetReferencedTypeOnImport (typeName, typeNamespace, customData)" />
<MemberSignature Language="C++ CLI" Value="public:
 Type ^ GetReferencedTypeOnImport(System::String ^ typeName, System::String ^ typeNamespace, System::Object ^ customData);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.Serialization.Primitives</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="typeName" Type="System.String" />
<Parameter Name="typeNamespace" Type="System.String" />
<Parameter Name="customData" Type="System.Object">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="typeName">The name of the type in the schema.</param>
<param name="typeNamespace">The namespace of the type in the schema.</param>
<param name="customData">The object that represents the annotation inserted into the XML schema definition, which is data that can be used for finding the referenced type.</param>
<summary>During schema import, returns the type referenced by the schema.</summary>
<returns>The <see cref="T:System.Type" /> to use for the referenced type.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>