Edit

Share via


DateOnlyCodec Class

Definition

Serializer for DateOnly.

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

Constructors

DateOnlyCodec()

Methods

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

Reads a DateOnly value.

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

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

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to