Edit

Share via


ImmutableHashSetCodec<T> Class

Definition

Serializer for ImmutableHashSet<T>.

[Orleans.RegisterSerializer]
public sealed class ImmutableHashSetCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Immutable.ImmutableHashSet<T>,Orleans.Serialization.Codecs.ImmutableHashSetSurrogate<T>>
[<Orleans.RegisterSerializer>]
type ImmutableHashSetCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ImmutableHashSet<'T>, ImmutableHashSetSurrogate<'T>>
Public NotInheritable Class ImmutableHashSetCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ImmutableHashSet(Of T), ImmutableHashSetSurrogate(Of T))

Type Parameters

T

The element type.

Inheritance
Attributes

Constructors

ImmutableHashSetCodec<T>(IValueSerializer<ImmutableHashSetSurrogate<T>>)

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

Methods

ConvertFromSurrogate(ImmutableHashSetSurrogate<T>) System.Object.ConvertFromSurrogate(Orleans.Serialization.Codecs.ImmutableHashSetSurrogate{`0}@)
ConvertFromSurrogate(TSurrogate)

Converts a value from the surrogate type to the field type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableHashSet<T>, ImmutableHashSetSurrogate<T>) System.Object.ConvertToSurrogate(System.Collections.Immutable.ImmutableHashSet{`0},Orleans.Serialization.Codecs.ImmutableHashSetSurrogate{`0}@)
ConvertToSurrogate(TField, TSurrogate)

Converts a value to the surrogate type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Writes a field.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Applies to