# SortedListCopier&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/SortedListCodec.cs#L81)

```csharp
public sealed class SortedListCopier<TKey, TValue> : IBaseCopier, IBaseCopier<SortedList<TKey, TValue>>, IDeepCopier, IDeepCopier<SortedList<TKey, TValue>>
```

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

## Type parameters

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

## Constructors

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

## Methods

- [DeepCopy(SortedList&lt;TKey, TValue&gt;, CopyContext)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.sortedlistcopier-2/methods/deepcopy-system-collections-generic-sortedlist-tkey-tvalue-orleans-serialization-cdbcb858/)
- [DeepCopy(SortedList&lt;TKey, TValue&gt;, SortedList&lt;TKey, TValue&gt;, CopyContext)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.sortedlistcopier-2/methods/deepcopy-system-collections-generic-sortedlist-tkey-tvalue-system-collections-ge-c0f5fee5/)
