Edit

Share via


DateTimeOffsetCodec Class

Definition

Serializer for DateTimeOffset.

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

Constructors

DateTimeOffsetCodec()

Methods

ReadValue<TInput>(Reader<TInput>, Field)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, DateTimeOffset)

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

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to