# ImmutableSortedDictionaryCopier&lt;TKey, TValue&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) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Codecs/ImmutableSortedDictionaryCodec.cs#L74)

```csharp
public sealed class ImmutableSortedDictionaryCopier<TKey, TValue> : IDeepCopier, IDeepCopier<ImmutableSortedDictionary<TKey, TValue>>, IOptionalDeepCopier
```

Copier for `System.Collections.Immutable.ImmutableSortedDictionary-2`.

## Type parameters

- `TKey`: The key type.
- `TValue`: The value type.

## Constructors

- [ImmutableSortedDictionaryCopier&lt;TKey, TValue&gt;(IDeepCopier&lt;TKey&gt;, IDeepCopier&lt;TValue&gt;)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.immutablesorteddictionarycopier-2/constructors/constructor-orleans-serialization-cloning-ideepcopier-tkey-orleans-serialization-bf6179f3/)

## Methods

- [DeepCopy(ImmutableSortedDictionary&lt;TKey, TValue&gt;, CopyContext)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.immutablesorteddictionarycopier-2/methods/deepcopy-system-collections-immutable-immutablesorteddictionary-tkey-tvalue-orle-9f81ea8c/)
- [IsShallowCopyable](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.immutablesorteddictionarycopier-2/methods/isshallowcopyable-9536b34f/)
