Edit

Share via


TimeSpanCodec Class

Definition

Serializer for TimeSpan.

[Orleans.RegisterSerializer]
public sealed class TimeSpanCodec : Orleans.Serialization.Codecs.IFieldCodec<TimeSpan>
[<Orleans.RegisterSerializer>]
type TimeSpanCodec = class
    interface IFieldCodec<TimeSpan>
    interface IFieldCodec
Public NotInheritable Class TimeSpanCodec
Implements IFieldCodec(Of TimeSpan)
Inheritance
TimeSpanCodec
Attributes
Implements

Constructors

TimeSpanCodec()

Methods

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

Reads a value.

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

Writes a field without type info (expected type is statically known).

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to