一款简单易用的基础网络通讯组件库。

DefaultSerializationSelector 类

默认序列化选择器,实现了ISerializationSelector接口

Definition

命名空间: TouchSocket.Dmtp.Rpc
程序集: TouchSocket.Dmtp (在 TouchSocket.Dmtp.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public sealed class DefaultSerializationSelector : ISerializationSelector
Inheritance
Object    DefaultSerializationSelector
Implements
ISerializationSelector

构造函数

DefaultSerializationSelector 默认序列化选择器的构造函数。

属性

FastSerializerContext 快速序列化上下文属性
JsonSerializerSettings Json序列化配置
SerializationBinder 序列化绑定器属性

方法

DeserializeParameterTByteBlock 根据指定的序列化类型反序列化字节块中的数据。
EqualsDetermines whether the specified object is equal to the current object.
(继承自 Object。)
GetHashCodeServes as the default hash function.
(继承自 Object。)
GetTypeGets the Type of the current instance.
(继承自 Object。)
SerializeParameterTByteBlock 序列化参数
ToStringReturns a string that represents the current object.
(继承自 Object。)

扩展方法

Map
(由 Mapper 定义。)
Map
(由 Mapper 定义。)
MapTTarget
(由 Mapper 定义。)
ToJsonString 转换为Json
(由 SerializeConvert 定义。)

显式接口实现

ISerializationSelectorSerializeParameterTByteBlock 序列化参数并将其添加到字节块中。

参见