public sealed class PackageFastBinaryConverter<TPackage> : IFastBinaryConverter
where TPackage : new(), IPackage
Public NotInheritable Class PackageFastBinaryConverter(Of TPackage As {New, IPackage})
Implements IFastBinaryConverter[<SealedAttribute>]
type PackageFastBinaryConverter<'TPackage when 'TPackage : new() and IPackage> =
class
interface IFastBinaryConverter
end| PackageFastBinaryConverterTPackage | 初始化 PackageFastBinaryConverterTPackage 类的一个新实例 |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |
| IFastBinaryConverterReadTByteBlock | 从字节块中读取数据并转换为TPackage类型的对象。 |
| IFastBinaryConverterWriteTByteBlock | 将TPackage类型的对象写入字节块中。 |