HashSetCodec<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializer for HashSet<T>.
[Orleans.RegisterSerializer]
public sealed class HashSetCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.HashSet<T>>
[<Orleans.RegisterSerializer>]
type HashSetCodec<'T> = class
interface IFieldCodec<HashSet<'T>>
interface IFieldCodec
Public NotInheritable Class HashSetCodec(Of T)
Implements IFieldCodec(Of HashSet(Of T))
Type Parameters
- T
The element type.
- Inheritance
-
HashSetCodec<T>
- Attributes
- Implements
Constructors
HashSetCodec<T>(IFieldCodec<T>, IFieldCodec<IEqualityComparer<T>>) |
Initializes a new instance of the HashSetCodec<T> class. |
Methods
ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, HashSet<T>) |
Writes a field. |