-
Notifications
You must be signed in to change notification settings - Fork 0
/
BinarySerializer.xml
354 lines (354 loc) · 16.3 KB
/
BinarySerializer.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
<?xml version="1.0"?>
<doc>
<assembly>
<name>BinarySerializer</name>
</assembly>
<members>
<member name="T:BinarySerializer.Converter.ArrayConverter">
<summary>
<see cref="T:System.Array"/>,<see cref="T:System.Collections.Generic.List`1"/>,<see cref="T:System.Collections.Generic.IEnumerable`1"/>转换器
其中<see cref="T:System.Collections.Generic.IEnumerable`1"/>的实例为<see cref="T:System.Collections.Generic.List`1"/>
</summary>
</member>
<member name="T:BinarySerializer.Converter.DateTimeConverter">
<summary>
<see cref="T:System.DateTime"/>转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.DateTimeOffsetConverter">
<summary>
<see cref="T:System.DateTimeOffset"/>转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.TimeSpanConverter">
<summary>
<see cref="T:System.TimeSpan"/>转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.KeyValuePairConverter">
<summary>
<see cref="T:System.Collections.Generic.KeyValuePair`2"/>转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.DictionaryConverter">
<summary>
<see cref="T:System.Collections.Generic.Dictionary`2"/>转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.EnocdingConverter">
<summary>
<see cref="T:System.Text.Encoding"/>转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.NullableConverter">
<summary>
可空类型<see cref="T:System.Nullable`1"/>转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.StringConverter">
<summary>
<see cref="T:System.String"/>转换器,默认编码为<see cref="F:BinarySerializer.Serializer.DefaultEncoding"/>
</summary>
</member>
<member name="T:BinarySerializer.Converter.TypeNotFoundException">
<summary>
找不到指定的类型,请参考<see cref="M:BinarySerializer.Serializer.AddAssembly(System.Reflection.Assembly)"/>
</summary>
</member>
<member name="T:BinarySerializer.Converter.TypeConverter">
<summary>
<see cref="T:System.Type"/>转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.BinaryConverter">
<summary>
提供二进制对象转换器的基类
</summary>
</member>
<member name="T:BinarySerializer.Converter.BinaryConverter`1">
<summary>
提供二进制对象转换器的泛型基类
</summary>
<typeparam name="T">转换类型</typeparam>
</member>
<member name="T:BinarySerializer.Converter.GenericConverterAttribute">
<summary>
用于指定泛型类型转换器的基类和类型参数数量
</summary>
</member>
<member name="T:BinarySerializer.Converter.GenericConverter">
<summary>
提供针对泛型类型的转换器基类
</summary>
</member>
<member name="T:BinarySerializer.Converter.BinaryConstructorAttribute">
<summary>
当类型不存在默认构造器时,指定一个构造器作为反序列化时的入口
</summary>
</member>
<member name="M:BinarySerializer.Converter.BinaryConstructorAttribute.#ctor(System.Object[])">
<param name="args">默认的构造参数</param>
</member>
<member name="T:BinarySerializer.Converter.IBinarySerializable">
<summary>
IBinarySerializable接口,用以自定义序列化的实现
</summary>
</member>
<member name="T:BinarySerializer.Converter.ElementType">
<summary>
基础类型枚举
</summary>
</member>
<member name="T:BinarySerializer.Converter.ElementTypeConverter">
<summary>
基础类型转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.PropertyCannotReadException">
<summary>
属性不可读
</summary>
</member>
<member name="T:BinarySerializer.Converter.ConstructorNotFoundException">
<summary>
找不到指定类型可调用的构造器
</summary>
</member>
<member name="T:BinarySerializer.Converter.BinaryIgnoreAttribute">
<summary>
该特性可用于修饰字段和属性,指示它们不被序列化
</summary>
</member>
<member name="T:BinarySerializer.Converter.ObjectConverter">
<summary>
对象转换器
</summary>
</member>
<member name="T:BinarySerializer.Converter.Utilities">
<summary>
几个功能函数
</summary>
</member>
<member name="M:BinarySerializer.Converter.Utilities.IsOrBaseFrom``1(System.Type)">
<summary>
表示类型是否是<see langword="TBase"/>或继承自<see langword="TBase"/>
</summary>
<typeparam name="TBase">基类型</typeparam>
<param name="type">类型</param>
</member>
<member name="M:BinarySerializer.Converter.Utilities.IsOrBaseFrom(System.Type,System.Type)">
<summary>
表示类型是否是<see langword="TBase"/>或继承自<see langword="tBase"/>
</summary>
<param name="type">类型</param>
<param name="tBase">基类型</param>
</member>
<member name="M:BinarySerializer.Converter.Utilities.BytesToInts(System.Byte[])">
<summary>
将<see langword="byte[]"/>转换成<see langword="int[]"/>,长度不够将会在末尾补0
</summary>
<param name="bytes">字节数组</param>
</member>
<member name="M:BinarySerializer.Converter.Utilities.IntsToBytes(System.Int32[])">
<summary>
将<see langword="int[]"/>转换成<see langword="byte[]"/>
</summary>
<param name="ints">int数组</param>
</member>
<member name="M:BinarySerializer.Converter.Utilities.StrongGetValue``1(System.Object,System.String)">
<summary>
通过反射获取<see langword="private"/>字段或属性的值
</summary>
<typeparam name="T">值的类型</typeparam>
<param name="obj">要获取值的对象</param>
<param name="memberName">字段或属性的名字</param>
<exception cref="T:BinarySerializer.Converter.PropertyCannotReadException"/>
</member>
<member name="M:BinarySerializer.Converter.Utilities.StrongSetValue``1(System.Object,System.String,``0)">
<summary>
通过反射修改<see langword="private"/>或<see langword="readonly"/>的字段或<see langword="private"/>属性的值
</summary>
<typeparam name="T">值的类型</typeparam>
<param name="obj">要修改的对象</param>
<param name="memberName">字段或属性的名字</param>
<param name="value">修改的值</param>
</member>
<member name="M:BinarySerializer.Converter.Utilities.ReadInt32(System.IO.Stream)">
<summary>
读取流中的一个整数
</summary>
<param name="stream"></param>
<returns></returns>
</member>
<member name="M:BinarySerializer.Converter.Utilities.ReadBytes(System.IO.Stream,System.Int32)">
<summary>
读取流中的字节数组
</summary>
<param name="stream"></param>
<returns></returns>
</member>
<member name="M:BinarySerializer.Converter.Utilities.WriteBytes(System.IO.Stream,System.Byte[])">
<summary>
向流中写入字节数组
</summary>
<param name="stream"></param>
<returns></returns>
</member>
<member name="M:BinarySerializer.Converter.Utilities.ReadInt64(System.IO.Stream)">
<summary>
读取流中的一个长整数
</summary>
<param name="stream"></param>
<returns></returns>
</member>
<member name="M:BinarySerializer.Converter.Utilities.WriteInt32(System.IO.Stream,System.Int32)">
<summary>
向流中写入一个整数
</summary>
<param name="stream"></param>
<returns></returns>
</member>
<member name="M:BinarySerializer.Converter.Utilities.WriteInt64(System.IO.Stream,System.Int64)">
<summary>
向流中写入一个长整数
</summary>
<param name="stream"></param>
<returns></returns>
</member>
<member name="T:BinarySerializer.Serializer">
<summary>
提供二进制序列化的实现
</summary>
</member>
<member name="F:BinarySerializer.Serializer.OnlyPublicMember">
<summary>
是否仅对<see langword="public"/>成员进行序列化
</summary>
</member>
<member name="F:BinarySerializer.Serializer.AddAssemblyWhenSerializing">
<summary>
是否在调用<see cref="M:BinarySerializer.Serializer.Serialize(System.Type,System.Object,System.IO.Stream)"/>时自动添加对应类型的程序集
</summary>
</member>
<member name="F:BinarySerializer.Serializer.DefaultEncoding">
<summary>
表示<see cref="T:BinarySerializer.Converter.StringConverter"/>序列化<see cref="T:System.String"/>时使用的编码
</summary>
</member>
<member name="F:BinarySerializer.Serializer.Modules">
<summary>
加载的程序集对应的模块,用于<see cref="T:BinarySerializer.Converter.TypeConverter"/>反序列化类型
</summary>
</member>
<member name="P:BinarySerializer.Serializer.BindingFlags">
<summary>
表示当前获取成员使用的<see cref="P:BinarySerializer.Serializer.BindingFlags"/>
</summary>
</member>
<member name="M:BinarySerializer.Serializer.AddConverter``1">
<summary>
添加一个自定义的<see cref="T:BinarySerializer.Converter.BinaryConverter"/>,用于转换特定的类型
</summary>
<typeparam name="T">表示一个派生自<see cref="T:BinarySerializer.Converter.BinaryConverter"/>的类型</typeparam>
</member>
<member name="M:BinarySerializer.Serializer.RemoveConverter``1">
<summary>
移除一个自定义的<see cref="T:BinarySerializer.Converter.BinaryConverter"/>,如果确实包含
</summary>
<typeparam name="T">表示一个派生自<see cref="T:BinarySerializer.Converter.BinaryConverter"/>的类型</typeparam>
</member>
<member name="M:BinarySerializer.Serializer.AddAssembly(System.Reflection.Assembly)">
<summary>
添加对应类型的程序集,用于<see cref="T:BinarySerializer.Converter.TypeConverter"/>反序列化类型
</summary>
<param name="assembly">程序集</param>
</member>
<member name="M:BinarySerializer.Serializer.RemoveAssembly(System.Reflection.Assembly)">
<summary>
移除指定的程序集
</summary>
<param name="assembly">程序集</param>
</member>
<member name="M:BinarySerializer.Serializer.Serialize(System.Object,System.Boolean)">
<summary>
序列化一个对象,仅当类型不为<see langword="null"/>时,类型自动获取
</summary>
<param name="obj">要序列化的对象</param>
<param name="compress">是否进行压缩</param>
<exception cref="T:System.ArgumentNullException"/>
<exception cref="T:BinarySerializer.Converter.PropertyCannotReadException"/>
<returns>字节数组</returns>
</member>
<member name="M:BinarySerializer.Serializer.Serialize``1(``0,System.Boolean)">
<summary>
序列化一个指定类型的对象,<see cref="T:System.Nullable`1"/>类型需要显式类型参数
</summary>
<typeparam name="T">要序列化的对象类型</typeparam>
<param name="obj">要序列化的对象</param>
<param name="compress">是否进行压缩</param>
<exception cref="T:BinarySerializer.Converter.PropertyCannotReadException"/>
<returns>字节数组</returns>
</member>
<member name="M:BinarySerializer.Serializer.Serialize(System.Object,System.IO.Stream)">
<summary>
序列化一个对象,仅当类型不为<see langword="null"/>时,类型自动获取
</summary>
<param name="obj">要序列化的对象</param>
<param name="stream">输出流</param>
<exception cref="T:System.ArgumentNullException"/>
<exception cref="T:BinarySerializer.Converter.PropertyCannotReadException"/>
</member>
<member name="M:BinarySerializer.Serializer.Serialize``1(``0,System.IO.Stream)">
<summary>
序列化一个指定类型的对象,<see cref="T:System.Nullable`1"/>类型需要显式类型参数
</summary>
<typeparam name="T">要序列化的对象类型</typeparam>
<param name="obj">要序列化的对象</param>
<param name="stream">输出流</param>
<exception cref="T:BinarySerializer.Converter.PropertyCannotReadException"/>
</member>
<member name="M:BinarySerializer.Serializer.Serialize(System.Type,System.Object,System.IO.Stream)">
<summary>
序列化一个指定类型的对象
</summary>
<param name="type">要序列化的对象类型</param>
<param name="obj">要序列化的对象</param>
<param name="stream">输出流</param>
<exception cref="T:BinarySerializer.Converter.PropertyCannotReadException"/>
</member>
<member name="M:BinarySerializer.Serializer.Deserialize``1(System.Byte[],System.Boolean)">
<summary>
反序列化为指定类型的对象
</summary>
<typeparam name="T">反序列化的结果类型</typeparam>
<param name="bytes">字节数组</param>
<param name="decompress">是否解压缩</param>
<exception cref="T:BinarySerializer.Converter.TypeNotFoundException"/>
</member>
<member name="M:BinarySerializer.Serializer.Deserialize(System.Type,System.Byte[],System.Boolean)">
<summary>
反序列化为指定类型的对象
</summary>
<param name="type">反序列化的结果类型</param>
<param name="bytes">字节数组</param>
<param name="decompress">是否解压缩</param>
<exception cref="T:BinarySerializer.Converter.TypeNotFoundException"/>
</member>
<member name="M:BinarySerializer.Serializer.Deserialize``1(System.IO.Stream)">
<summary>
反序列化为指定类型的对象
</summary>
<typeparam name="T">反序列化的结果类型</typeparam>
<param name="stream">输入流</param>
<exception cref="T:BinarySerializer.Converter.TypeNotFoundException"/>
</member>
<member name="M:BinarySerializer.Serializer.Deserialize(System.Type,System.IO.Stream)">
<summary>
反序列化为指定类型的对象
</summary>
<param name="type">反序列化的结果类型</param>
<param name="stream">输入流</param>
<exception cref="T:BinarySerializer.Converter.TypeNotFoundException"/>
</member>
</members>
</doc>