# ReadOnlyDictionaryCopier&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/ReadOnlyDictionaryCodec.cs#L30)

```csharp
public sealed class ReadOnlyDictionaryCopier<TKey, TValue> : IDeepCopier, IDeepCopier<ReadOnlyDictionary<TKey, TValue>>
```

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

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

## Methods

- [DeepCopy(ReadOnlyDictionary&lt;TKey, TValue&gt;, CopyContext)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.readonlydictionarycopier-2/methods/deepcopy-system-collections-objectmodel-readonlydictionary-tkey-tvalue-orleans-s-37907e39/)
