# CodecProvider.TryGetDeepCopier

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.serializers.codecprovider/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.serializers.codecprovider/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Serialization/Serializers/CodecProvider.cs#L312-L326)

```csharp
public IDeepCopier<T>? TryGetDeepCopier<T>()
```

Gets a deep copier capable of copying instances of type `T`, or returns `null` if an appropriate copier was not found.

### Returns

A deep copier capable of copying instances of type `T`, or `null` if an appropriate copier was not found.
