Upravit

Sdílet prostřednictvím


RepeatedFieldCodec<T> Class

Definition

Serializer for Google.Protobuf.Collections.RepeatedField`1.

[Orleans.RegisterSerializer]
public sealed class RepeatedFieldCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<Google.Protobuf.Collections.RepeatedField<T>>
[<Orleans.RegisterSerializer>]
type RepeatedFieldCodec<'T> = class
    interface IFieldCodec<RepeatedField<'T>>
    interface IFieldCodec
Public NotInheritable Class RepeatedFieldCodec(Of T)
Implements IFieldCodec(Of RepeatedField(Of T))

Type Parameters

T

The element type.

Inheritance
RepeatedFieldCodec<T>
Attributes
Implements
IFieldCodec IFieldCodec<Google.Protobuf.Collections.RepeatedField<T>>

Constructors

RepeatedFieldCodec<T>(IFieldCodec<T>)

Initializes a new instance of the RepeatedFieldCodec<T> class.

Methods

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

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, RepeatedField<T>)

Writes a field.

Applies to