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.Serialization.Serializers.IBaseCodec<System.Collections.Generic.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
interface IBaseCodec<HashSet<'T>>
interface IBaseCodec
[<Orleans.RegisterSerializer>]
type HashSetCodec<'T> = class
interface IFieldCodec<HashSet<'T>>
interface IFieldCodec
Public NotInheritable Class HashSetCodec(Of T)
Implements IBaseCodec(Of HashSet(Of T)), IFieldCodec(Of HashSet(Of T))
Public NotInheritable Class HashSetCodec(Of T)
Implements IFieldCodec(Of HashSet(Of T))
Type Parameters
- T
The element type.
- Inheritance
-
HashSetCodec<T>
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| HashSetCodec<T>(IFieldCodec<T>, IFieldCodec<IEqualityComparer<T>>) |
Initializes a new instance of the HashSetCodec<T> class. |
Methods
| Name | Description |
|---|---|
| ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. |
| Serialize<TBufferWriter>(Writer<TBufferWriter>, HashSet<T>) | |
| WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, HashSet<T>) |
Writes a field. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IBaseCodec<HashSet<T>>.Deserialize<TInput>(Reader<TInput>, HashSet<T>) | |