Deserializer 委托

定义

反序列化程序函数。

public delegate object Deserializer(Type expected, IDeserializationContext context);
type Deserializer = delegate of Type * IDeserializationContext -> obj
Public Delegate Function Deserializer(expected As Type, context As IDeserializationContext) As Object 

参数

expected
Type

要接收的预期类型。

context
IDeserializationContext

要反序列化此对象的上下文。

返回值

从输入流中当前位置读取的指定类型解除冻结的对象。

适用于