Edytuj

Udostępnij za pośrednictwem


DateTimeCodec Class

Definition

Serializer for DateTime.

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

Constructors

DateTimeCodec()

Methods

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

Reads a DateTime value.

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

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

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to