TimeOnlyCodec 类

定义

TimeOnly序列化程序。

[Orleans.RegisterSerializer]
public sealed class TimeOnlyCodec : Orleans.Serialization.Codecs.IFieldCodec<TimeOnly>
[<Orleans.RegisterSerializer>]
type TimeOnlyCodec = class
    interface IFieldCodec<TimeOnly>
    interface IFieldCodec
Public NotInheritable Class TimeOnlyCodec
Implements IFieldCodec(Of TimeOnly)
继承
TimeOnlyCodec
属性
实现

构造函数

TimeOnlyCodec()

TimeOnly序列化程序。

方法

ReadValue<TInput>(Reader<TInput>, Field)

读取值 TimeOnly

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, TimeOnly)

写入不包含类型信息的字段, (预期类型是静态已知的) 。

显式接口实现

IFieldCodec<TimeOnly>.ReadValue<TInput>(Reader<TInput>, Field)

读取值。

IFieldCodec<TimeOnly>.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TimeOnly)

写入字段。

适用于