# SortedDictionaryCopier&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/SortedDictionaryCodec.cs#L74)

```csharp
public sealed class SortedDictionaryCopier<TKey, TValue> : IBaseCopier, IBaseCopier<SortedDictionary<TKey, TValue>>, IDeepCopier, IDeepCopier<SortedDictionary<TKey, TValue>>
```

Copier for `System.Collections.Generic.SortedDictionary-2`.

## Type parameters

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

## Constructors

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

## Methods

- [DeepCopy(SortedDictionary&lt;TKey, TValue&gt;, CopyContext)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.sorteddictionarycopier-2/methods/deepcopy-system-collections-generic-sorteddictionary-tkey-tvalue-orleans-seriali-f6ae2164/)
- [DeepCopy(SortedDictionary&lt;TKey, TValue&gt;, SortedDictionary&lt;TKey, TValue&gt;, CopyContext)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.sorteddictionarycopier-2/methods/deepcopy-system-collections-generic-sorteddictionary-tkey-tvalue-system-collecti-0e5512fd/)
