다음을 통해 공유


CollectionCodec<T> 클래스

정의

에 대한 직렬 변환기입니다 Collection<T>.

[Orleans.RegisterSerializer]
public sealed class CollectionCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.ObjectModel.Collection<T>>
[<Orleans.RegisterSerializer>]
type CollectionCodec<'T> = class
    interface IFieldCodec<Collection<'T>>
    interface IFieldCodec
Public NotInheritable Class CollectionCodec(Of T)
Implements IFieldCodec(Of Collection(Of T))

형식 매개 변수

T

요소 형식입니다.

상속
CollectionCodec<T>
특성
구현

생성자

CollectionCodec<T>(IFieldCodec<T>)

CollectionCodec<T> 클래스의 새 인스턴스를 초기화합니다.

메서드

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

값을 읽습니다.

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

필드를 씁니다.

적용 대상