# Codec_ImmutableSortedSetSurrogate&lt;T&gt;

Package: [Microsoft.Orleans.Serialization](/orleans/docs/api/csharp/microsoft.orleans.serialization/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Serialization)

```csharp
public sealed class Codec_ImmutableSortedSetSurrogate<T> : IFieldCodec, IFieldCodec<ImmutableSortedSetSurrogate<T>>, IValueSerializer, IValueSerializer<ImmutableSortedSetSurrogate<T>>
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

- [Codec_ImmutableSortedSetSurrogate&lt;T&gt;(ICodecProvider)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleanscodegen.orleans.serialization.codecs.codec-immutablesortedsetsurrogate-1/constructors/constructor-orleans-serialization-serializers-icodecprovider-4c1f47b0/)

## Methods

- [Deserialize(Reader&lt;TReaderInput&gt;, ImmutableSortedSetSurrogate&lt;T&gt;)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleanscodegen.orleans.serialization.codecs.codec-immutablesortedsetsurrogate-1/methods/deserialize-1-ref-orleans-serialization-buffers-reader-treaderinput-ref-orleans-4c1ecc80/)
- [ReadValue(Reader&lt;TReaderInput&gt;, Field)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleanscodegen.orleans.serialization.codecs.codec-immutablesortedsetsurrogate-1/methods/readvalue-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-serial-1aaaf3cc/)
- [Serialize(Writer&lt;TBufferWriter&gt;, ImmutableSortedSetSurrogate&lt;T&gt;)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleanscodegen.orleans.serialization.codecs.codec-immutablesortedsetsurrogate-1/methods/serialize-1-ref-orleans-serialization-buffers-writer-tbufferwriter-ref-orleans-s-ec934091/)
- [WriteField(Writer&lt;TBufferWriter&gt;, uint, Type, ImmutableSortedSetSurrogate&lt;T&gt;)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleanscodegen.orleans.serialization.codecs.codec-immutablesortedsetsurrogate-1/methods/writefield-1-ref-orleans-serialization-buffers-writer-tbufferwriter-uint-system-f96b1efa/)
